Project

General

Profile

Actions

Bug #105589

closed

TypeError on saving site settings in editor

Added by Lina Wolf 8 days ago. Updated about 3 hours ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2024-11-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TypeError
TYPO3\CMS\Core\Settings\Type\IntType::transformValue(): Return value must be of type int, null returned

in /var/www/html/vendor/typo3/cms-core/Classes/Settings/Type/IntType.php line 50
at TYPO3\CMS\Core\Settings\Type\IntType->transformValue('NaN', object(TYPO3\CMS\Core\Settings\SettingDefinition))
in /var/www/html/vendor/typo3/cms-core/Classes/Site/SiteSettingsService.php line 96


Files

Bug105589.patch (952 Bytes) Bug105589.patch Lina Wolf, 2024-11-13 13:13
settings.definitions.yaml (9.84 KB) settings.definitions.yaml Lina Wolf, 2024-11-13 13:13
Actions #1

Updated by Lina Wolf 8 days ago ยท Edited

For some reason NAN seems to be passed: TYPO3\CMS\Core\Settings\Type\IntType->transformValue('NaN', object(TYPO3\CMS\Core\Settings\SettingDefinition))

Updated by Lina Wolf 8 days ago

This solves it for me. The attached settings definition caused this, found at https://codeberg.org/sjbr/static-info-tables/commit/34d515f4f6

Actions #3

Updated by Gerrit Code Review about 7 hours ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87138

Actions #4

Updated by Gerrit Code Review about 6 hours ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87138

Actions #5

Updated by Gerrit Code Review about 6 hours ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87138

Actions #6

Updated by Gerrit Code Review about 5 hours ago

Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87131

Actions #7

Updated by Oliver Bartsch about 3 hours ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF