Bug #41148

Converting of ValueObjects

Added by Carsten Bleicker about 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-09-21
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

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.

No data to display

Also available in: Atom PDF