pat-contentbrowser: SelectedItem customization broken due to lazy loading patterns?
@MrTango is already working on this.
Since Aug 10, 2026.
- Dominant language
- JavaScript
- Stars
- 57
- Forks
- 103
- Avg merge
- 10h 25m
- Merged PRs (30d)
- 18
Description
I just tried a customization based on https://github.com/collective/blicca.staticresourceoverride/
But with the latest master branch the code in
https://github.com/plone/mockup/blob/bfb9d269e652bac26a70d156e502b1dc64e09d96/src/pat/contentbrowser/src/SelectedItems.svelte#L36
runs before
So that the customization is not picked up.
I tested this by placing a debugger; statement right before the referenced lines - SelectedItems.svelte comes before overrides.js
With Mockup 5.6.6 this does not happen, overrides.js is executed before SelectedItems.svelte and the customization does work.
I guess this has something to do with the recent lazy pattern loading approach.
EDIT: I'm also having troubles customizing with Mockup 5.7.0-alpha.0. So maybe not a lazy pattern loading problem?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.