rupertgermann / tt_news

TYPO3 Extension - News (tt_news)
21 stars 37 forks source link

[REGRESSION] no category is treated es forbidden by DataHandlerHook #188

Closed jpmschuler closed 2 years ago

jpmschuler commented 2 years ago

The new handling of allowed categories introduced via 4e39524782366d8cedaff4978737f0192bb395c4 and released with v11.0.0 expects the category field to always be filled.

If no category is set (which was valid in all versions before) the converter for wantedCategories interprets the empty field categoryas 0.

This patch re-allows empty category.

In order to keep the clear structure of the function, instead of handling empty category before the conversion, it just adds 0 as allowed, on top of all other allowed categories.

jpmschuler commented 2 years ago

closed in favour of #195