Bug #71056

Suggest Wizard do not work on new records

Added by Alexander Grein about 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-10-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If adding e.g. a news plugin on a page and click on the suggest wizard of the storage page a error 500 will be thrown.

The problem is somewhere in typo3/sysext/backend/Classes/Form/Wizard/SuggestWizard.php inside the searchAction method.

Just doing this:

$uid = (int)(isset($parsedBody['uid']) ? $parsedBody['uid'] : $queryParams['uid']);

,I thing is not such a good idea, because in case of a new record $parsedBody['uid'] contains a string like "NEW12345", which will result in a wrong uid if force it to an int.

Also available in: Atom PDF