Closed jrief closed 6 months ago
@jrief That's an extremely interesting bug:
actions.js
into the toolbar that captures clicks on the publish button to send a post signaldevelop-4
replaces it (this is due to a memory leak in an older version of DiffDOM)actions.js
is not reloaded and the publish button issues a GET requestThere are two issues here:
~The fix IMHO should address both issues.~
I have reconsidered this. The updated toolbar can add new buttons (or other elements) which means that the officially loaded toolbar JS must not add their own events to toolbar elements. Let us keep DiffDOM out of the toolbar update.
I can test this on 2024-04-26. Thanks for the quick fix.
Yeah, the fix is not there yet ... I'll try.
@jrief I have built a first 4.1.1 release for testing including assets. You can test if this bug is sovled by installing git+https://github.com/django-cms/django-cms@release/build
From a functional point of view, this now works. However, the structure tree now is located on the left hand side of the window. This of course is very disturbing.
Oh, I see. Seems to be a faulty change in the RTL support.
here is a screenshot:
The structure board position should be fixed in the now updated build at git+https://github.com/django-cms/django-cms@release/build
.
Closed with 4.1.1
There seems to be a regression in the sources making up
django-cms/cms/static/cms/js/dist/4.1.0/bundle.toolbar.min.js
. This bug is not visible yet to users installing django-cms from PyPI, but it will be as soon as we rebundle the JavaScript files.How to reproduce:
develop-4
.gulp bundle
./de/admin/djangocms_versioning/pagecontentversion/45413/publish/
and works as expected, ie. the user sees the edited page again./de/admin/djangocms_versioning/pagecontentversion/45413/publish/
. This opens a form with some time constraints and is not expeted.By copying the latest bundled file from https://github.com/django-cms/django-cms/blob/develop-4/cms/static/cms/js/dist/4.1.0/bundle.toolbar.min.js to its local destination at
django-cms/cms/static/cms/js/dist/4.1.0/bundle.toolbar.min.js
this workflow works again as expected.Conclusion: