AnsweredAssumed Answered

Course group update issue

Question asked by aa0045190 on Oct 18, 2016
Latest reply on Nov 3, 2016 by aa0045190

This discussions concerns group update issue; we note some dysfunctions. I explain above.

We would like to modify just title and description of existing groups. So, we define the following instructions:    

       group = GroupDbLoader.Default.getInstance().loadById(Id.generateId(idGroup);

       group.setTitle(newTitle);

       group.setDescription(new FormattedText(newDescription, FormattedText.Type.HTML));

       GroupDbPersister.Default.getInstance().persist(group);

However, we remark group tools (of the concerned group) are removed after execution of these instructions;
in group_application table, all data concerning this group are removed.

 

We would like to know if another adequate method exists to update group?

How we can do to update group without loss of any other informations/data like tool ?

Outcomes