Uploaded image for project: 'Front Edition'
  1. Front Edition
  2. FRONTEDIT-169

Impossible to edit attribute inside a repeater.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • 1.8.0
    • None
    • None

      Currently, it is not possible to edit through Front Edition an attribute inside a repeater. 

      Following error is encountered : 
       Date: Tue Mar 23 14:56:37 CET 2021 (1616507797264)
       Thread: http-nio-10016-exec-7
       Message #: 5823
       Level: ERROR
       NDC: 
       Category: org.ametys.plugins.frontedition.DispatchGenerator
       Message: Can not dispatch request '2' : 'front-edition' 'content/get-server-values.json' '{contentId=content://34eacd3b-fbf3-4433-87e5-51ebf29cb300, workflowIds=42, isEditionMetadataSet=true, metadataPaths=repeaterSansMinSize[1]/sansMinSize-string, validateContent=true}'
       Location: org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
       Thrown:
       org.apache.cocoon.util.location.LocatedException: Can not dispatch request '2' : 'front-edition' 'content/get-server-values.json' '{contentId=content://34eacd3b-fbf3-4433-87e5-51ebf29cb300, workflowIds=42, isEditionMetadataSet=true, metadataPaths=repeaterSansMinSize[1]/sansMinSize-string, validateContent=true}'
       at org.ametys.core.ui.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:198)
       at org.ametys.core.ui.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:95)
       at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)
       at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301)
      Caused by: java.lang.NullPointerException
       at org.ametys.plugins.frontedition.GetServerValuesAction._contentAttribute2Json(GetServerValuesAction.java:305)
       at org.ametys.plugins.frontedition.GetServerValuesAction.act(GetServerValuesAction.java:213)
       at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
       at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
       at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:98)
       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
       at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
       at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
       at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
       at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
       at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
       at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
       at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)
       ... 109 more

            cbayle Caroline Bayle
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: