Skip to content

Commit

Permalink
Add/Edit Distribution Preference
Browse files Browse the repository at this point in the history
- when a distribution preference is created or updated, make sure it is immediately visible on the related subparts and classes
  - this fixes a problem introduced in commit 0885742 which made the PreferenceGroup.distributionObjects no longer updated
  • Loading branch information
tomas-muller committed Nov 15, 2024
1 parent 44c6ff5 commit 823d29d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ else if (owningDept.getDistributionPrefPriority().intValue()==clazz.getManagingD
dObj.setDistributionPref(dp);
dp.addToDistributionObjects(dObj);
hibSession.persist(dObj);
dObj.getPrefGroup().addToDistributionObjects(dObj);
}

sessionContext.checkPermission(dp, Right.DistributionPreferenceEdit);
Expand Down

0 comments on commit 823d29d

Please sign in to comment.