[
http://team.ops4j.org/browse/QI-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862#comment-17862
]
Paul Merlin commented on QI-346:
--------------------------------
Qi4j 2.0 does not contain ComputedProperty support anymore.
What should we do about this issue?
> ValueComposite with @Computed Property causes IllegalStateException when part
> of EntityComposite
> ------------------------------------------------------------------------------------------------
>
> Key: QI-346
> URL: http://team.ops4j.org/browse/QI-346
> Project: Qi4j
> Issue Type: Bug
> Components: Persistence
> Affects Versions: 1.3
> Reporter: Lukasz Zielinski
> Fix For: 2.0 - Reductionism
>
> Attachments: CompOnValueTest.java, MinimalCompOnValueTest.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, please contact your JIRA administrators:
http://team.ops4j.org/secure/ContactAdministrators!default.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