Cannot Edit Blank template in Grapejs GUI-Mautic 6

Your software
My Mautic version is: Mautic 6
My PHP version is: 8.2
My Database type and version is:10.5.9-MariaDB - MariaDB Server

Your problem
My problem is: Cannot edit email template in Grapejs

These errors are showing in the log: no error in logs

Steps I have tried to fix the problem: Edit in code (this is OK)

Using Mautic 6 I have setup a role called Basic that allows users to edit, create, delete their own segments, email, forms, contacts. But when I try to create and edit the channel email template it does not let me edit it. (I am using BLANK not a custom template). I can edit this as an admin but not as a Basic role user.

I have set the Basic role permissions as follows - have I missed something?
Emails - User has access to
View Own
Edit Own
Create
Delete Own
Publish Own

Segments - User has access to
View Own
Edit Own
Create
Delete Own

If I use the Code section I can edit it and save it but using the gui grapejs (double clicking the section) does not work correctly.

This issue is related to : Fix bug with email editor when user doesn't have view other permissions by pjrobertson · Pull Request #13811 · mautic/mautic · GitHub

The fix for this is here: Check for null before altering $expr · mautic/mautic@c8c10eb · GitHub

Not sure why its not included in the latest version.

It’s not in the release because it has multiple tests failing, requires a functional test to make sure the bug doesn’t come back, and hasn’t been reviewed/tested.

Here’s the PR: Fix bug with email editor when user doesn't have view other permissions by pjrobertson · Pull Request #13811 · mautic/mautic · GitHub

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.