Bug #41148
Converting of ValueObjects
Status: | New | Start date: | 2012-09-21 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | Git master |
Description
having a Model "Category" as a valueObject and want to display Articles having this Category assigned the mapping fails with Creation not allowed exception.
Uri looks like this:
listarticlesbycategory?category[__identity]=1ffb48f0cda7a90ace1f460d7bcc387a7274a777
f.e.:
listArticlesByCategory(\Vendor\Package\Domain\Model\Category $category)
think this is a bug in PersistentObjectConverter. This unsets the __identifier so its recognized as a new one.
History
#1 Updated by Karsten Dambekalns over 2 years ago
- Affected Flow version changed from Git 1.2 (master) to Git master