Reordering a structure does not change the uri on globe icon
Open
Nobody has claimed this yet.
bug
severity:minor
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
When dragging structure items around (making children or children's children) the uri's from the globe icon don't change.
Steps to reproduce
- Drag an item in a structure to the right so it becomes a child of the entry above
- Click the globe icon on the right
- Still goes to the old uri, not the new uri
Additional info
- Craft version: Craft Pro 3.0.1
- PHP version: 7.1.16
- Database driver & version: MySQL 5.7.21
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.
Research direction
Start by reproducing the issue in the structure editor described in the report: drag an item to make it a child, then click the globe icon and compare the destination with the new hierarchy. Trace how the globe icon obtains the entry URI; done means it opens the updated URI after reordering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- content
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100