When in the menu editor admin interface, re-editing an existing menu entry which was set to a certain URL Alias, the current target of that alias is displayed in the menu editor interface.
I was concerned that the URL Alias was not really being saved.
I tested by changing the URL Alias to point to a different node, and indeed the menu entry did point to the correct node, so the menu entry is truly pointing at the URL Alias even though that is not what shows up in the menu admin interface.
For consistency please put the D5 behavior back that menu entries show their actual destination, not their ultimate destination.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 715890_D6CoreMenuURLAliasBug.png | 29.81 KB | mdlueck |
Comments
Comment #1
mdlueck commentedFixing typo in Issue title.
Comment #2
jpwarren00 commentedThis appears to be a feature request and I could not duplicate the exact behavior mentioned by the poster.
Comment #3
mdlueck commentedAs you can see from this screen capture of our web site, I am editing the "IT Consulting" menu entry which really points / is set to URL Alias "IT_Consulting" however what shows up as the path is "node/24".
Please visit our site and see for yourself... http://www.lueckdatasystems.com/
Comment #4
mdlueck commentedDid not notice that the category had been changed. It would appear to me to still be a bug. Resetting priority as well.
Comment #5
killua99 commentedStill happen in D 6.28 ?
Comment #6
mdlueck commentedYes, same as my screen capture in #3.
Adjusting the version / status.
Comment #7
killua99 commentedOk, I'll take a look into it.
I'll change the version and status.
Comment #8
mdupontThis behavior is by design, when saving the menu item a lookup is done to always store the internal path and not the alias. An alias can be changed or removed, but the internal path will always be the same. When a menu item is rendered, the path goes through url(), so if there is an alias for this internal path it will be displayed.
Comment #9
mdlueck commentedAdmins can become confused that they did not create the proper URL Alias in the D6 work-flow, confusion which was not present with D5 code. This is a regression.
Editing a node should look up the preferred URL Alias for nodes if one is found, and place it back in the edit RL field. aka, if the url() call is what fixes the path-->alias, then call that when bringing a node into edit mode.