Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into MPMCHAC-5_itemWFVal…
Browse files Browse the repository at this point in the history
…idationLevels_groups_managing_item
  • Loading branch information
gbastien committed Mar 5, 2024
2 parents 50c0ee7 + 02c371e commit d34f948
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Products/PloneMeeting/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,9 @@ def onItemMoved(item, event):
return

# update elements depending on item path as it changed
if item._at_creation_flag:
# be defensive regarding attribute _at_creation_flag that sometimes does
# not exist for plonemeeting.restapi tests...
if getattr(item, '_at_creation_flag', False):
update_all_categorized_elements(item)
# update also categorized_elements of advices
for advice in item.getAdvices():
Expand Down

0 comments on commit d34f948

Please sign in to comment.