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

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Wed Mar 30 03:43:39 EDT 2011


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

Shane Bryzak updated SEAMSECURITY-13:
-------------------------------------

    Fix Version/s: Future


> Custom EntityIdentifierStrategy ignored by IdentifierPolicy
> -----------------------------------------------------------
>
>                 Key: SEAMSECURITY-13
>                 URL: https://issues.jboss.org/browse/SEAMSECURITY-13
>             Project: Seam Security
>          Issue Type: Bug
>            Reporter: Robert Raksi
>            Assignee: Shane Bryzak
>             Fix For: Future
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list