nagaboinaramgopal opened a new pull request, #14050:
URL: https://github.com/apache/cloudstack/pull/14050

   createOrupdateConfigObject created a missing configuration subgroup with the 
no-arg ConfigurationSubGroupVO constructor, so the row was written with a null 
name and null group_id. Because the name stayed null, the next 
findByNameAndGroup lookup missed again and inserted another null row on every 
management-server restart. Build the subgroup with its name and precedence and 
set its group id, matching the sibling configuration-group branch.
   
   Tested: new unit test createConfigObjectPersistsSubGroupWithNameAndGroupId 
(captures the persisted VO); ConfigDepotImplTest green.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to