It is rare to get a bug report with ready and proper fix. I applied your patch in http://anonsvn.jboss.org/repos/picketlink/idm/branches/1.1.0/
I'm still looking at other bugs and may release 1.1.5.CR02 this week. Try to upgrade to the latest code brom 1.1.0 branch as there were couple of important bug fixes and performance improvments since 1.1.1.GA.
Two more question please:
1. I saw that the SVN tags are different from the version on your maven repository: http://repository.jboss.org/maven2/org/picketlink/idm/picketlink-idm-hibernate/. For instance from the repository is missing the 1.1.4.GA version. Why is that? Is there another repository where you deploy your artifacts?
2. We use the PicketLink IDM by synchronizing our internal maven repository with yours: http://repository.jboss.org/maven2/org/picketlink/idm/, but apparently this is not the best way to do it (your artifactory not beeing very offen updated (?)). We use also Hudson for our CI process.
What do you suggest in order to keep updated? Can you update your repository with each version released? Or is better to chec-out sources and build locally?
I'm always deploying every release/tag into JBoss.org maven repository. After it migrated to nexus URLs changed. You will find all tags here:
Should be ok to just rely on repository.jboss.org but for those rare moments when updates are in svn and not yet released some mechanism to build and install locally would do. You can always just build patched jar and attach it to your build with "system" dependency scope and then remove once it is deployed into the repo.