Closed fsbraun closed 1 year ago
All modified lines are covered by tests :white_check_mark:
Comparison is base (
25e28e3
) 76.36% compared to head (17edc8d
) 76.36%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I can confirm that the patch works for me 👍.
Description
This PR fixes issue #641.
I traced it back to a simple typo in
widgets.py
which left thecancel_plugin_url
property in the editor's setting empty (but filled the unused propertyclancel_plugin_url
).In effect, the cmspluings'
plugin.js
in turn creates a POST request with empty content to the edit endpoint (where the form was originally loaded), effectively deleting the text as opposed to the newly created plugins. The correct behavior would call thecancel_plugin_url
endpoint which in turn deletes any added child plugins when cancel is pressed.References
641