Skip to content

Commit

Permalink
Do not do linkintegrity checks when removing contents
Browse files Browse the repository at this point in the history
Fix regression introduced in #692
  • Loading branch information
ale-rt committed Apr 9, 2024
1 parent d9454ea commit dff082f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Changelog
16.1.3 (unreleased)
-------------------

- Nothing changed yet.
- Do not do linkintegrity checks when removing contents
(Fix regression introduced in https://github.com/euphorie/Euphorie/pull/692)
[ale-rt]


16.1.2 (2024-03-20)
Expand Down
2 changes: 1 addition & 1 deletion src/euphorie/client/browser/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def CopyToClient(survey, preview=False):
else:
new_id = surveygroup.id
if new_id in target:
api.content.delete(obj=target[new_id])
api.content.delete(obj=target[new_id], check_linkintegrity=False)

copy = api.content.copy(source, target, id=new_id)
copy.title = surveygroup.title
Expand Down

0 comments on commit dff082f

Please sign in to comment.