Description of problem:
When removing a locale member, a RecordNotFoundException is generated. The record itself is removed and the error disappears after a while, but it seems to affect other areas of the application.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to the Languages page and select a language. (User must be either the language coordinator or an admin)
2. Try to remove a Language member.
A "Record not Found" error appears, and will continue to appear whenever the languages page is accessed. It can also been seen in other area of the application like when selecting a project from the projects' page.
User is removed from the language and a message appears informing of the change.
Changed the way HLocaleMember entities are removed. This might be a problem in our current version of Hibernate and composite primary keys, and it's worth a look after upgrading to the latest version of Hibernate.
VERIFIED with Zanata version 2.1-SNAPSHOT (20130107-1432)