Bug #30255

ObjectConverter needs to deal with constructor injection properties

Added by Sebastian Kurfuerst about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Should have
Category:
Property
Start date:
2011-09-24
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

When a normal object is converted, the generic ObjectConverter is called (not the PersistentObjectConverter).

When this object relies on constructor arguments and does not provide setters for all options, that will break.

I'll prepare a patch which fixes the issue.

We need this for image upload in Phoenix

#1

Updated by Mr. Hudson about 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change Ic667b86c9231a11ae167f4d2836ebc1c9a12a9a2 has been pushed to the review server.
It is available at http://review.typo3.org/5277

#2

Updated by Mr. Hudson about 10 years ago

Patch set 2 of change Ic667b86c9231a11ae167f4d2836ebc1c9a12a9a2 has been pushed to the review server.
It is available at http://review.typo3.org/5277

#3

Updated by Sebastian Kurfuerst about 10 years ago

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

Also available in: Atom PDF