With Plone 6.X and the new RR, attribute data-bundle="diazo" is missing from the html for diazo bundles, which actually hosts local themes javascript and css. All other bundle has actually data-bundle attribute set, only the diazo bundle is missing it.
BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)
With Plone 6.X and the new RR, attribute
data-bundle="diazo"
is missing from the html for diazo bundles, which actually hosts local themes javascript and css. All other bundle has actuallydata-bundle
attribute set, only the diazo bundle is missing it.What I did:
Used backed.xml (https://github.com/plone/plonetheme.barceloneta/blob/master/plonetheme/barceloneta/theme/backend.xml) to use Barceloneta Theme in Plone Classic UI backend
What I expect to happen:
Backend has Barceloneta style
What actually happened:
Both Barceloneta and local theme are applied, because this backend.xml rule don't apply to diazo bundle because of the missing
data-bundle
attribute:What version of Plone/ Addons I am using:
Plain Plone Classic UI
I've added these 2 pull requests to fix this bug, for Plone 6.0 and Plone 6.1 (main branch):
https://github.com/plone/Products.CMFPlone/pull/3890
https://github.com/plone/Products.CMFPlone/pull/3889
This PRs also add the
data-bundle="plonecustomcss"
for the@@customcss
stylesheet link tag.