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

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Fri Jun 25 08:46:46 EDT 2010


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

Shane Bryzak reassigned SEAMSECURITY-13:
----------------------------------------

    Assignee: Shane Bryzak


> 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
>            Assignee: Shane Bryzak
>
> 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