[forge-issues] [JBoss JIRA] (FORGE-698) Forge must try to box identifiers when they are primitives
Vineet Reynolds (JIRA)
jira-events at lists.jboss.org
Fri May 3 14:45:53 EDT 2013
[ https://issues.jboss.org/browse/FORGE-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vineet Reynolds closed FORGE-698.
---------------------------------
Assignee: Vineet Reynolds
Fix Version/s: 1.2.4.Final
Resolution: Done
Closing this issue.
This should have been fixed in the recent fixes made for FORGE-572. This upstream commit https://github.com/forge/core/commit/dd0ab7908d8e20c2a3e44c48181053bae30c8154 should have addressed this specific issue.
> Forge must try to box identifiers when they are primitives
> ----------------------------------------------------------
>
> Key: FORGE-698
> URL: https://issues.jboss.org/browse/FORGE-698
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 1.1.1.Final
> Reporter: Marius Bogoevici
> Assignee: Vineet Reynolds
> Fix For: 1.2.4.Final
>
>
> With TicketMonster (https://github.com/jboss-jdf/ticket-monster, tag 2.0.1.Final), when running the admin_layer.fsh script (without applying the patches), the class org.jboss.jdf.examples.view.SectionAllocationBean will contain the following uncompilable code
> {code}
> return ejbProxy.findById(long.valueOf(value));
> {code}
> (note the use of lowercase l in long)
> This is caused by the id field in the entity class being primitive rather than object. While this can be worked around easily (using a class is better than the primitive anyway), this still remains a bug.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list