Skip to content

Commit

Permalink
fix(core): richgroup is not supported
Browse files Browse the repository at this point in the history
* 'RichGroup is not supported' error when getting rich group data from database

(cherry picked from commit 3089fba)
  • Loading branch information
mattjoke authored and HejdaJakub committed Aug 28, 2023
1 parent 0e07140 commit 9df329c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ public List<PerunBean> fetchPerunBeans(List<PerunBean> objects) throws PerunExce
private PerunBean getBeanFromDatabase(PerunBean object) throws PerunException {
switch(object.getBeanName()) {
case "Group":
case "RichGroup":
return getGroupById(object.getId());
case "Vo":
return getVoById(object.getId());
Expand Down

0 comments on commit 9df329c

Please sign in to comment.