georgringer / news

TYPO3 Extension news
GNU General Public License v2.0
264 stars 358 forks source link

Category list : ArgumentsViewHelper using GeneralUtility::intExplode with null value #2485

Closed geoffroycochard closed 4 months ago

geoffroycochard commented 4 months ago

Bug Report

Current Behavior When no override demand to print category list ArgumentsViewHelper pass a null value to GeneralUtility::intExplode

Expected behavior/output Print as usual category list

Environment

Possible Solution Check value before

$categoryList = GeneralUtility::intExplode(',', $arguments['list'] ?: '', true);

Patch ArgumentsViewHelper-issue-2485.patch

geoffroycochard commented 4 months ago

ref from core : https://review.typo3.org/c/Packages/TYPO3.CMS/+/74599

georgringer commented 4 months ago

fixed in main