Patrick Deenen created ISIS-2967:
------------------------------------

             Summary: ApplicationUser.@UserLocale is missing MAX_LENGTH 
definitions
                 Key: ISIS-2967
                 URL: https://issues.apache.org/jira/browse/ISIS-2967
             Project: Isis
          Issue Type: Bug
          Components: Isis Extensions SecMan
    Affects Versions: 2.0.0-M7
            Reporter: Patrick Deenen


The @Property and @Parameter both mis a maxlength definition. As a result the 
script in the M7 migration notes, which states a length of 120, is in conflict 
with the default of 20 in ISIS. This leads to runtime exceptions:
{code:java}
org.datanucleus.store.rdbms.exceptions.WrongPrecisionException: Wrong precision 
for column isisExtensionsSecman.ApplicationUser."language" : was 120 (according 
to the JDBC driver) but should be 20 (based on the MetaData definition for 
field org.apache.isis.extensions.secman.jdo.user.dom.ApplicationUser.language) 
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to