ValueComposite with @Computed Property causes IllegalStateException when part
of EntityComposite
------------------------------------------------------------------------------------------------
Key: QI-346
URL: http://issues.ops4j.org/browse/QI-346
Project: Qi4j
Issue Type: Bug
Components: Persistence
Affects Versions: 1.3
Reporter: Lukasz Zielinski
Fix For: 1.4
Attachments: CompOnValueTest.java
ValueComposite with @Computed Property cannot be used as part of
EntityComposite.
java.lang.IllegalStateException: Property [computedValue] must be computed
at
org.qi4j.runtime.property.AbstractPropertyModel$ComputedPropertyInfo.get(AbstractPropertyModel.java:294)
at
org.qi4j.runtime.property.PropertiesInstance.visitProperties(PropertiesInstance.java:58)
at
org.qi4j.runtime.types.ValueCompositeType.toJSON(ValueCompositeType.java:131)
at
org.qi4j.runtime.types.SerializableType.toJSON(SerializableType.java:74)
at
org.qi4j.spi.entitystore.helpers.JSONEntityState.setProperty(JSONEntityState.java:152)
at
org.qi4j.runtime.entity.EntityPropertyInstance.set(EntityPropertyInstance.java:90)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev