Bug #69707

Exception in FlexForm select when no icon is used

Added by Alexander Stehlik over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-09-12
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

When using a FlexForm with a select field that has no icons (like the login sysext) an Exception is thrown:

#1347135546: $haystack can not be interpreted as string

The problem comes from the TcaMigration class that only checks the array size in migrateExtAndSysextPathToEXTPath(). The item array always has four elements in the new Form engine, a check should be implemented if the icon path is empty.


Related issues

Duplicated by TYPO3 Core - Bug #69703: Media content elements can't be created or edited Closed 2015-09-11

Associated revisions

Revision 8c037e46 (diff)
Added by Alexander Stehlik over 4 years ago

[BUGFIX] Check for empty select icon setting in TcaMigration

The migrateExtAndSysextPathToEXTPath() method in the TcaMigration
checks if the icon path setting is empty before building the
paths.

Resolves: #69707
Releases: master
Change-Id: I8e1c37187da825459c5392f4115cb9ab75b99cc8
Reviewed-on: http://review.typo3.org/43224
Tested-by: Andreas Fernandez <>
Tested-by: Michael Oehlhof <>
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

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

#2 Updated by Gerrit Code Review over 4 years ago

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

#3 Updated by Gerrit Code Review over 4 years ago

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

#4 Updated by Alexander Stehlik over 4 years ago

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

#5 Updated by Anja Leichsenring over 4 years ago

  • Sprint Focus deleted (On Location Sprint)

#6 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF