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

[Hierarchical reference tables tool] error while renaming a reference

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.4.0
    • 4.4.0
    • None
    • None
    • 4.4 RC2

      How to reproduce:

      • Open a hierarchical reference table (ex: ODF code erasmus)
      • The hierarchical reference table tool is opened with the corresponding tree => OK
      • Open a category and click on a reference to rename it directly from the tree, or click on the rename button
      • An error occurs => KO
      Try to convert the non multilingual string JSON object '{"en":"Droit communautaire européen","fr":"Droit communautaire européens","es":"Droit communautaire européen"}' into a multilingual string
      java.lang.IllegalArgumentException: Try to convert the non multilingual string JSON object '{"en":"Droit communautaire européen","fr":"Droit communautaire européens","es":"Droit communautaire européen"}' into a multilingual string
       at org.ametys.cms.data.type.AbstractMultilingualStringElementType.fromJSONForClient(AbstractMultilingualStringElementType.java:97)
       at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$5(EditContentFunction.java:602)
       at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:54)
       at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:571)
       at org.ametys.cms.workflow.EditContentFunction.getValues(EditContentFunction.java:556)
       at org.ametys.cms.workflow.EditContentFunction.execute(EditContentFunction.java:248)
       at jdk.internal.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
       at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:198)
       at com.sun.proxy.$Proxy31.execute(Unknown Source)
       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:212)
       at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:567)
       at org.ametys.plugins.workflow.AbstractAmetysWorkflow.doAction(AbstractAmetysWorkflow.java:164)
       at org.ametys.cms.workflow.ContentWorkflowAction._act(ContentWorkflowAction.java:69)
       at org.ametys.plugins.workflow.cocoon.AbstractWorkflowAction.act(AbstractWorkflowAction.java:71)
       ...

            cbayle Caroline Bayle
            cbayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: