Skip to content

Commit

Permalink
Merge pull request #718 from euphorie/fix-delete
Browse files Browse the repository at this point in the history
Do not do linkintegrity checks when removing contents
  • Loading branch information
reinhardt committed Apr 9, 2024
2 parents d9454ea + dff082f commit af3e98f
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
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
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 af3e98f

Please sign in to comment.