Can't rename page title to title of a recently deleted page
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 28
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
### Search first
- [x] I searched and no similar issues were found
### What Happened?
Cannot rename a page title to the the title of a page is just deleted
### Reproduce the Bug
1. Create page called [[Foo]] and another page [[Foo Bar]]
2. Delete [[Foo Bar]]
3. Try to rename [[Foo]] to [[Foo Bar]]
4. See error message that page [[Foo Bar]] already exists, even though it's not showing up in search nor in list of pages
### Expected Behavior
Should be able to rename an existing page to a page that was deleted
### Screenshots
### Desktop or Mobile Platform Information
Latest test.logseq.com in Chrome incognito on Mac
### Additional Context
_No response_
### Are you willing to submit a PR? If you know how to fix the bug.
- [ ] I'm willing to submit a PR (Thank you!)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the rename flow on test.logseq.com in Chrome using the four steps in the report, confirming that the deleted page is absent from search and the page list. Trace the rename validation and deleted-page handling, then verify that renaming [[Foo]] to [[Foo Bar]] succeeds after [[Foo Bar]] is deleted.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100