Cannot perform updates to child entity in Lifecycle form

Options

Hi,

I implemented an Application Entity with child items (comments), now in the application lifecycle i added activities with forms from the task entity,
with a tab panel for adding/viewing the child comments in a repeating group.

When i run the lifecycle and open the task form from the client, i cannot add comment, i must complete the task first then edit the comments.
The following error is raised when adding comment, please advise:

org.apache.openejb.core.transaction.EjbTransactionUtil.handleSystemException EjbTransactionUtil.handleSystemException: The item 'LifecycleTask' with Id '212997.180242' is not in the correct state for the operation.
com.opentext.cordys.entityCore.exceptions.ItemInIncorrectStateException: The item '000C29A9BAFCA1E9BE2541F1317F0375.212997.180242' is not in the correct state for the operation.
at com.opentext.cordys.entityCore.elements.itemListIdentityElement.DeleteDraftAction.internalInvoke(DeleteDraftAction.java:58)
at com.opentext.cordys.entityCore.elements.itemMember.ActionBase.invoke(ActionBase.java:483)
at com.opentext.cordys.entityCore.elements.itemListElement.RestItem.doPost(RestItem.java:124)
at com.opentext.cordys.entityCore.rest.RestResourceService.processRequest(RestResourceService.java:291)
at com.opentext.cordys.entityCore.rest.RestResourceService.doItemsResource(RestResourceService.java:101)
at jdk.internal.reflect.GeneratedMethodAccessor298.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:205)
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:186)
at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:191)
at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:102)
at jdk.internal.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)

Comments