-
digicube
We’ve identified a critical bug in the Elements module that is causing data loss for our Editors.
The Issue: When an Editor attempts to use the Exclude tab, the interface gets stuck on a loading spinner. If the Editor saves the page while this is happening, any existing data in the “Exclude” field is automatically deleted.
Technical Details: The console is reporting a TypeError in metabox.js: Uncaught TypeError: Cannot read properties of undefined (reading ‘objects’) at fillObjects (metabox.js?ver=2.5.5:143:43)
It appears the fillObjects function is failing to handle an undefined response, preventing the exclude list from rendering and subsequently wiping the field on save.
Could you please look into this as a priority to prevent further data loss?
-
George
Hi there.
Editors should not have access to the Elements module by default. Are you using a permissions plugin to give them access?
-
digicube
Elements go trough a post type as Im familiar.
create_posts
delete_others_posts
delete_posts
delete_private_posts
delete_published_posts
edit_others_posts
edit_posts
edit_private_posts
edit_published_posts
publish_posts
read_private_postsThey have everything except Create Post (for Elements).
OR if im missing some capipability let me know.
-
George
Ok, you will need to elevate the editor role’s permissions, Here is a filter you could use:
-
digicube
Thanks! That did the trick.
-
George
That’s great!
- You must be logged in to reply to this topic.