[
https://issues.apache.org/jira/browse/ISIS-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500761#comment-17500761
]
ASF subversion and git services commented on ISIS-2967:
-------------------------------------------------------
Commit 524107fc71a1f7c482f52cb77b1392cae89add99 in isis's branch
refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=524107f ]
Merge pull request #865 from opencirclesolutions/ISIS-2967
Fix for ISIS-2967: Definition of maxlength in @Property and @Parameter
> 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
> Priority: Major
>
> 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)