Opened 5 years ago

Last modified 4 years ago

#6619 new enhancement

permalink field misleading in page editor: it displays the erroneous values

Reported by: Denis-de-Bernardy Owned by:
Priority: normal Milestone: Future Release
Component: Editor Version: 2.5
Severity: normal Keywords: needs-patch
Cc:

Description

if you create a sub-page, the permalink field should display the proper permalink.

currently, if you have:

site.com/page/

and when you create:

site.com/page/subpage/

the permalink shows:

site.com/subpage/

until it gets saved

the expected behavior would be for it to show the correct permalink.

the same remark applies when you then change the permalink. if the parent is no longer page, but rather page-2, then the permalink should update accordingly.

Change History (8)

The only way to do this would be to fire the autosave when the parent is changed I guess.

fetching the parent page's permalink (or the site's url) without autosaving also works

D.

comment:3   ryan5 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

  • Component changed from Administration to JavaScript
  • Keywords needs-patch added
  • Owner changed from anonymous to azaozz
  • Type changed from defect (bug) to enhancement

see also: #7733 (with a possible fix)

  • Component changed from JavaScript to Editor
  • Owner azaozz deleted

Still see this doesn't see to get fixed until page is published.

comment:8   ryan4 years ago

  • Milestone changed from 2.9 to Future Release
Note: See TracTickets for help on using tickets.