[seam-issues] [JBoss JIRA] Moved: (SEAMSECURITY-13) Custom EntityIdentifierStrategy ignored by IdentifierPolicy

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Sun May 30 08:04:08 EDT 2010


     [ https://jira.jboss.org/browse/SEAMSECURITY-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Bryzak moved JBSEAM-4655 to SEAMSECURITY-13:
--------------------------------------------------

              Project: Seam Security  (was: Seam)
                  Key: SEAMSECURITY-13  (was: JBSEAM-4655)
    Affects Version/s:     (was: 2.2.0.GA)
          Component/s:     (was: Security)


> Custom EntityIdentifierStrategy ignored by IdentifierPolicy
> -----------------------------------------------------------
>
>                 Key: SEAMSECURITY-13
>                 URL: https://jira.jboss.org/browse/SEAMSECURITY-13
>             Project: Seam Security
>          Issue Type: Bug
>            Reporter: Robert Raksi
>
> I tried to set a custom identifier strategy for one of my entities with the @Identifier annotation but after debuging the IdentifierPolicy class I found that my custom strategy is neglected in favor of the builtin EntityIdentifierStrategy.
> Inside the if (strategy == null) {} block my strategy is found and put into the strategies map as expected but then in the for statement it's replaced with de default one. Shouldn't the for statement be in an else block?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list