You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2013/11/29 08:36:35 UTC

[jira] [Commented] (ISIS-615) using the JDO implementation of the publishing service and AuditingService

    [ https://issues.apache.org/jira/browse/ISIS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835231#comment-13835231 ] 

Dan Haywood commented on ISIS-615:
----------------------------------

Thanks for the catch... bit embarrassing.

The workaround for now would be to subclass the AuditEntry (eg MyAuditEntry), and in the subclass add the missing annotations.  The AuditEntryService will also need subclassing (eg MyAuditEntryService) in order to instantiate this new subclass.

I'll get this fixed pronto.

Cheers
Dan

>  using the JDO implementation of the publishing service and AuditingService
> ---------------------------------------------------------------------------
>
>                 Key: ISIS-615
>                 URL: https://issues.apache.org/jira/browse/ISIS-615
>             Project: Isis
>          Issue Type: Bug
>          Components: Objectstore: JDO
>    Affects Versions: objectstore-jdo-1.3.0
>            Reporter: Sushil Kumar Saini
>            Assignee: Dan Haywood
>
> while using the JDO implementation of the AuditingService , i received the following exception:
> 1) Error in custom provider, org.apache.isis.core.metamodel.specloader.validator.MetaModelInvalidException: 1: org.apache.isis.objectstore.jdo.applib.service.audit.AuditEntry#user: incompatible default handling of required/optional properties between Isis and JDO; add @javax.jdo.annotations.Column(allowsNull="...")
> 2: org.apache.isis.objectstore.jdo.applib.service.audit.AuditEntry#objectType: incompatible default handling of required/optional properties between Isis and JDO; add @javax.jdo.annotations.Column(allowsNull="...")
> 3: org.apache.isis.objectstore.jdo.applib.service.audit.AuditEntry#identifier: incompatible default handling of required/optional properties between Isis and JDO; add @javax.jdo.annotations.Column(allowsNull="...")
> 4: org.apache.isis.objectstore.jdo.applib.service.audit.AuditEntry#preValue: incompatible default handling of required/optional properties between Isis and JDO; add @javax.jdo.annotations.Column(allowsNull="...")
> 5: org.apache.isis.objectstore.jdo.applib.service.audit.AuditEntry#postValue: incompatible default handling of required/optional properties between Isis and JDO; add @javax.jdo.annotations.Column(allowsNull="...")
> 6: org.apache.isis.objectstore.jdo.applib.service.audit.AuditEntry#timestampEpoch: incompatible default handling of required/optional properties between Isis and JDO; add @javax.jdo.annotations.Column(allowsNull="...")



--
This message was sent by Atlassian JIRA
(v6.1#6144)