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 2015/12/22 00:42:46 UTC

[jira] [Updated] (ISIS-1059) Isis restriction of using some characters when the property is a @PrimaryKey

     [ https://issues.apache.org/jira/browse/ISIS-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood updated ISIS-1059:
------------------------------
    Fix Version/s:     (was: 1.11.0)
                   1.12.0

> Isis restriction of using some characters when the property is a @PrimaryKey
> ----------------------------------------------------------------------------
>
>                 Key: ISIS-1059
>                 URL: https://issues.apache.org/jira/browse/ISIS-1059
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: core-1.8.0
>            Reporter: Martin Grigorov
>            Assignee: Dan Haywood
>             Fix For: 1.12.0
>
>
> If a domain entity uses PersistenceCapable(identityType = IdentityType.APPLICATION) combined with PrimaryKey annotated property then it is not allowed to use some symbols like '@'.
> The exception is:
> Caused by: java.lang.IllegalArgumentException: identifier 's_my@email.tld' contains an '@' symbol
> 	at org.apache.isis.core.commons.ensure.Ensure.ensureThatArg(Ensure.java:75)
> 	at org.apache.isis.core.metamodel.adapter.oid.RootOidDefault.<init>(RootOidDefault.java:124)
> 	at org.apache.isis.core.metamodel.adapter.oid.RootOidDefault.<init>(RootOidDefault.java:92)
> 	at org.apache.isis.core.runtime.system.persistence.OidGenerator.createPersistentOrViewModelOid(OidGenerator.java:99)
> 	at org.apache.isis.objectstore.jdo.datanucleus.persistence.FrameworkSynchronizer$3.run(FrameworkSynchronizer.java:203)
> 	at org.apache.isis.objectstore.jdo.datanucleus.persistence.FrameworkSynchronizer$8.call(FrameworkSynchronizer.java:350)
> ....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)