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

Also available in: Atom PDF