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): 2.0.3 How reproducible: Always 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. Actual results: 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. Expected results: 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. See: https://github.com/zanata/zanata/commit/c3b577abdd41379fd559fabd4cb3f39845a3ebe7
VERIFIED with Zanata version 2.1-SNAPSHOT (20130107-1432)