Skip to content

Getting "Uncaught Error: Invalid path" when Swap Parent on empty thoughts #4198

@BayuAri

Description

@BayuAri

Step to Reproduce

  1. Create a new thought
  2. Leave it empty
  3. Create a new subthought underneath
  4. Leave it empty
  5. Tap Swap Parent

Current behavior

"Uncaught Error: Invalid path id. No thought found with id" red banner is shown

Image
Getting.Uncaught.Error.Invalid.path.when.Swap.Parent.on.empty.thoughts.mov

Expected behavior

User should not see red banner error message.
User should see the regular black alert at the bottom with user friendly message that swapping parent can not be done on empty thoughts

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions