[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1295) Entity component doesnt ensure that the the identifier field is accessible.
Gavin King (JIRA)
jira-events at lists.jboss.org
Mon May 7 21:52:52 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1295?page=all ]
Gavin King closed JBSEAM-1295.
------------------------------
Fix Version/s: 1.3.0.BETA1
Resolution: Done
Assignee: Gavin King
Thanks
> Entity component doesnt ensure that the the identifier field is accessible.
> ---------------------------------------------------------------------------
>
> Key: JBSEAM-1295
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1295
> Project: JBoss Seam
> Issue Type: Bug
> Affects Versions: 1.2.1.GA, 1.2.0.GA
> Reporter: Chris Rudd
> Assigned To: Gavin King
> Fix For: 1.3.0.BETA1
>
>
> The Entity component uses reflection to get the identifier of that @Entity it represents. If the identifier is a private/protected @Id annotated field Entity.getIdentifier will fail with an IllegalAccessException.
> The code should be updated to call setAccessible(true) for each member / method that could be private/protected that will be accessed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list