Bug #71056

Suggest Wizard do not work on new records

Added by Alexander Grein about 5 years ago. Updated about 3 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.

#1

Updated by Mathias Schreiber about 5 years ago

  • Category changed from Backend User Interface to FormEngine aka TCEforms
#2

Updated by Gerrit Code Review about 5 years ago

  • Status changed from New to Under Review

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

#3

Updated by Gerrit Code Review about 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44412

#4

Updated by Thomas Maroschik about 5 years ago

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

Updated by Riccardo De Contardi about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF