Issue 11613

Relations deleted after update an Agent retrieved by a Select/List operation

11613
Reporter: fmendez
Assignee: jcuadra
Type: Bug
Summary: Relations deleted after update an Agent retrieved by a Select/List operation
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-07-18 10:01:23.26
Updated: 2013-12-16 17:50:42.708
Resolved: 2012-08-14 10:34:32.309
        
Description: There's a bug in the registry persistence layer, this can be replicated by the following steps:
 1. Using the AgentManager get a list of agents by using any of its listBy/selectBy operations.The agent must have existing relations in the DB.
 2. Get any agent of the list and update any field, then execute agentManager.update().
 After executing the update, all agent relations were deleted.]]>