Project

General

Profile

Actions

Bug #60669

closed

String value in objects to persist will trigger the class autoloader

Added by Tobias Liebig almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Extbase
Target version:
-
Start date:
2014-07-30
Due date:
% Done:

0%

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

Description

While persisting an object and the DataMapper is asked for the plainValue
of a property. The TypeHandlingUtility is using "is_subclass_of()" to check
if the given input is an instance of \TYPO3\CMS\Core\Type\TypeInterface.
Unfortunately, when passing a string into "is_subclass_of" it tries to
instantiate an object of that name. This will trigger the class auto loader.
Even worst, when the string contains an special char (like an umlaut) the
class cache will throw an exception (#1233057752). Thus persisting an object
with special chars in a property value is not possible at the moment.

This issue was already fixed in #54275 and reintroduced during a cleanup in #57255.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #53425: Forms with German Umlauts throws ExceptionClosed2013-11-08

Actions
Actions #1

Updated by Gerrit Code Review almost 10 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/31901

Actions #2

Updated by Markus Klein almost 10 years ago

  • Status changed from Under Review to Closed

Closing as duplicate of #53425

Actions

Also available in: Atom PDF