Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-4115

Error when saving a content with a repeater and sub-repeater

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.10, 4.9.0
    • 4.8.3, 4.9.0
    • None
    • None

      See on a ODF 4.8.3 application.
      Edit a ELP and create repeater entries for acquiredSkills (first repeater with 2 entries, each first entries with 2 sub repeater entries)

      Try save

      Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
      java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null
          at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$15(EditContentFunction.java:776)
          at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:77)
          at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
          at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$15(EditContentFunction.java:783)
          at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:77)
          at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
          at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$16(EditContentFunction.java:790)
          at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:82)
          at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:696)
          at org.ametys.cms.workflow.EditContentFunction.getValues(EditContentFunction.java:677)
          at org.ametys.cms.workflow.EditContentFunction.execute(EditContentFunction.java:287)
          at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:871)
          at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1044)
          at org.ametys.plugins.workflow.AbstractAmetysWorkflow.transitionWorkflow(AbstractAmetysWorkflow.java:213)
      

      Similar error to issue RUNTIME-3897

          [RUNTIME-4115] Error when saving a content with a repeater and sub-repeater

          Data sent to server:

          Laurence Aumeunier added a comment - Data sent to server:

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: