wazum / sluggi

The TYPO3 CMS slug helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to save folder with exclude_page_types=254 (folder)

christophlehmann opened this issue · comments

in TYPO3 12.4.8 with sluggi 12.0.2 I get an Exception when i save a folder
Bildschirmfoto 2023-11-21 um 22 21 40

When i remove 254 from exclude_page_types setting, then I don't get the exception.

The function in typo3/cms-redirects looks like this
Bildschirmfoto 2023-11-21 um 22 26 32

Little possibly bad smell here:$persistedChangedItem might be null, but in line 88 this is not checked.

The same Exception occurs, when one de/activates a page via context menu of page tree

Thank you for the report.
I can reproduce it with this latest version of TYPO3 CMS (it works with earlier versions).
I need to take a look at how to solve this.

It does not occur any more with todays release TYPO3 v12.4.9.
Might be that commit which fixed it.

Fix for TYPO3 v11?