Skip to content
Snippets Groups Projects
Commit cb4c843a authored by Lukasz Lopatowski's avatar Lukasz Lopatowski
Browse files

Merge branch '301-fix-problem-with-updating-list-of-group-managers' into 'develop'

Resolve "Fix problem with updating list of group managers"

See merge request !238
parents 06d9fa87 595d15a2
No related branches found
No related tags found
2 merge requests!273Release 1.8.0 update,!238Resolve "Fix problem with updating list of group managers"
Pipeline #94771 passed
...@@ -135,7 +135,7 @@ public class DomainGroupServiceImpl implements DomainGroupService { ...@@ -135,7 +135,7 @@ public class DomainGroupServiceImpl implements DomainGroupService {
domainGroup.setName(view.getName()); domainGroup.setName(view.getName());
domainGroup.setManagers(view.getManagers().stream() domainGroup.setManagers(view.getManagers().stream()
.map(user -> modelMapper.map(user, User.class)) .map(user -> modelMapper.map(user, User.class))
.collect(Collectors.toList()) .collect(Collectors.toCollection(ArrayList::new))
); );
for (ApplicationStatePerDomain appState : domainGroup.getApplicationStatePerDomain()) { for (ApplicationStatePerDomain appState : domainGroup.getApplicationStatePerDomain()) {
for (ApplicationStatePerDomainView appStateView : view.getApplicationStatePerDomain()) { for (ApplicationStatePerDomainView appStateView : view.getApplicationStatePerDomain()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment