[4.x]: Wrong path on preview globe icon after drag and drop entry to lower level
Open
@i-just is already working on this.
Since Oct 4, 2022.
bug
craft4
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
If you create a new entry at the top level and then drag and drop it to a lower level, the URL on the preview icon (globe) is not updated. Only after a reload is the path correct. Tested in Craft 3 and 4, see screenshot.
Steps to reproduce
- create new entry on top level
- drag and drop it on a lower level
- click globe icon
- path is wrong because parent elements missing

Craft CMS version
4.2.5.1
PHP version
8.1
Operating system and version
macOS Monterey 12.6
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
Contributor guide
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.
Assessment
This issue has not been assessed yet.