Skip to content

Tabs: PersistenceException: Unable to commit changes to session #1869

Open
@Kiwinka

Description

@Kiwinka

Bug Report

TLDR;
when doing operation with tabs I have this error:
image
org.apache.sling.api.resource.PersistenceException: Unable to commit changes to session

Lore
I proxied Tabs component, followed the documentation, created the _cq_editConfig.xml file and also added cq:isContainer="true" property.
Then I created a panel component, which is resourceSuperType of responsivegrid, to represent one panel in the Tabs container.
In the policies of the component I defined that only Panel can be used in Tabs.

Current Behavior

When configurating the Tabs component on a page, after adding new panels, or deleting/moving them, I can't save the actions and I'm stopped by the error 'PersistenceException: Unable to commit changes to session'. This does not happen every time, but I couldn't figure out the pattern. It happens when I configure panels through the configuration window. When adding panel with the '+' on the parent component, it does work and they are added, but when I add name to the panel in the Tabs configuration, I can't save the changes.

Expected behavior
I expect to be able to edit the Tabs configuration.

Environment

  • AEM version: AEM 6.5
  • Core Components version: 2.17.12
  • Tabs version: v1
  • JRE version: Java(TM) SE Runtime Environment (build 1.8.0_202-b08)

Additional info
error log.txt

I'm attaching the export from error log (only a part of it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected problem or unintended behavior that impairs normal functioning of the product.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions