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

Error when updating a news on intranet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.5, 4.6.0
    • None
    • None
    • None
    • Reproduced on 4.5.4 and on master

      How to reproduce : 

      1 - On intranet, select for example news titled "A la découverte de votre nouvel intranet"

      2 - Activate update and update for instance title of this news. 

      3 - When clicking on Ok, this error is encountered : 

      Try to convert the non Geocode JSON object '' into a geocode
      java.lang.IllegalArgumentException: Try to convert the non Geocode JSON object '' into a geocode
          at org.ametys.cms.data.type.AbstractGeocodeElementType.fromJSONForClient(AbstractGeocodeElementType.java:114)
          at org.ametys.cms.workflow.EditContentFunction.lambda$_parseValues$6(EditContentFunction.java:612)
          at org.ametys.plugins.repository.model.ViewHelper.visitView(ViewHelper.java:64)
          at org.ametys.cms.workflow.EditContentFunction._parseValues(EditContentFunction.java:567)
          at org.ametys.cms.workflow.EditContentFunction.getValues(EditContentFunction.java:549)
          at org.ametys.cms.workflow.EditContentFunction.execute(EditContentFunction.java:245)
          at jdk.internal.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:568)
          at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:198)
          at jdk.proxy3/jdk.proxy3.$Proxy33.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)

            Unassigned Unassigned
            mfranchet Magali Franchet
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: