Bug #30255

ObjectConverter needs to deal with constructor injection properties

Added by Sebastian Kurfuerst almost 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:2011-09-24
Priority:Should have Due date:
Assigned To:Sebastian Kurfuerst % Done:

100%

Category:Property
Target version:TYPO3 Flow Base Distribution - 1.0.0
PHP Version: Complexity:
Has patch: Affected Flow version:

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

Associated revisions

Revision d366973e
Added by Sebastian Kurfuerst almost 4 years ago

[BUGFIX] Allow ObjectConverter to use constructor parameters

We need this for image upload in Phoenix.

Change-Id: Ic667b86c9231a11ae167f4d2836ebc1c9a12a9a2
Resolves: #30255

History

#1 Updated by Mr. Hudson almost 4 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 almost 4 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 almost 4 years ago

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

Also available in: Atom PDF