wazum / sluggi

The TYPO3 CMS slug helper
GNU General Public License v3.0
38 stars 22 forks source link

Editors can bypass basic.last_segment_only=1 #93

Open seirerman opened 10 months ago

seirerman commented 10 months ago

I noticed that some of the pages created by editors had shortened URLs like /pagetitle, when they were actually located several levels deep in the page tree. That was odd, because basic.last_segment_only is set to 1, so that editors can only edit the last part of the URL.

That feature works fine if an editor creates a new page through drag&drop, or edits the page properties.

It does NOT work when an editor creates a new page through the context menu in the page tree. Pages created that way have their URL shortened like a redirect.

Sluggi might be missing something here. It would be nice if you could take a look...

[TYPO3 11.5.31 | sluggi 3.0.3]

seirerman commented 10 months ago

The same bug occurs in "Page tree > context menu > More options... > 'Create new' wizard".

wazum commented 10 months ago

Thanks for the report, I'll try this out.

seirerman commented 4 months ago

This also happens when an editor creates a new page in the list module,which starts the same wizard as the context menu in the page tree.