Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-5730

Unable to save content because of a invert relationship (in a repeater ?)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.9
    • None
    • None
    • None

      Cannot get a String from an empty array
      org.ametys.plugins.repository.AmetysRepositoryException: Cannot get a String from an empty array
          at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata._getString(JCRCompositeMetadata.java:362)
          at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata.getString(JCRCompositeMetadata.java:343)
          at org.ametys.cms.workflow.EditContentFunction._synchronizeMetadataRemoval(EditContentFunction.java:2076)
          at org.ametys.cms.workflow.EditContentFunction._synchronizeRepeaterInReplaceMode(EditContentFunction.java:1962)
          at org.ametys.cms.workflow.EditContentFunction._synchronizeRepeater(EditContentFunction.java:1806)
          at org.ametys.cms.workflow.EditContentFunction._synchronizeCompositeMetadata(EditContentFunction.java:1767)
          at org.ametys.cms.workflow.EditContentFunction._synchronizeMetadata(EditContentFunction.java:1693)
          at org.ametys.cms.workflow.EditContentFunction._synchronizeMetadataSetElement(EditContentFunction.java:588)
          at org.ametys.cms.workflow.EditContentFunction._synchronizeMetadataSetElement(EditContentFunction.java:593)
          at org.ametys.cms.workflow.EditContentFunction._synchronizeMetadataSetElement(EditContentFunction.java:593)
          at org.ametys.cms.workflow.EditContentFunction._bindAndValidateContent(EditContentFunction.java:488)
      

            ngavalda Nicolas Gavalda (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: