Page layout visibility roles can't be updated after namespace import

After a successful import of a namespace from one Corteza 2024.9.3 instance to another, I noticed that the roles assigned to page layout visibility did not come across. I expected this, and after creating the appropriate roles in the new instance, I tried to update the layout visibility roles. However, the field that allows this update does not appear in the imported pages:

I have superadmin permissions, so this isn’t a permissions issue.

Creating a new page shows the update fields, so right now the only way to solve the issue is to recreate the imported page layouts manually.

UPDATE: This only seems to happen when layout visibility roles are set in the original page layouts (in the exported namespace instance). If there are no visibility roles set, the field appears.

Confirmed, the roles shouldnt even be exported, so thats what corrupts it for some reason.
Will check it out/fix it for 2024.9.4

In the meantime you can edit the export file and reset the roles parameter under the page layouts.
image

Reset it to roles: []

1 Like