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

[Copy content values] error when selecting a group in the view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.6.0
    • 4.6.0
    • None
    • None
    • 4.6 RC4

      Les erreurs suivantes sont rencontrées lors de la copie de valeurs : 

      (Note : je n'ai pas testé les autres types, ils sont donc à vérifier lors du traitement de ce ticket)

      1/ Lors de la copie / coller les valeur de parcours : 

       

      Date : 09/03 12:54:31.642
      Utilisateur : admin#ametys-demo-users
      ThreadThread[http-nio-8080-exec-1,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.web.content.CopyContentComponent
      URI de la requête : /odf/plugins/core-ui/servercomm/messages.xml
      Message : 
      
      An error has been encountered during the content edition, or the edition is not allowed (base content identifier : subProgramContent://26741222-de99-4d0b-b7ec-c95a92fd92bf, target content identifier : subProgramContent://d98329c4-cfc9-4058-a12c-0d2f187283e7).
      
      Emplacement : org.ametys.cms.content.CopyContentComponent.editContent(CopyContentComponent.java:373)
      
      Pile d'appels :
      
      java.lang.IllegalArgumentException: Item 'presentation/educationLanguage' not found in models: 'Optional[org.ametys.plugins.odf.Content.subProgram]'.
      at org.ametys.runtime.model.ViewHelper#createViewItemAccessor:158
      at org.ametys.runtime.model.View#of:113
      at org.ametys.cms.content.CopyContentComponent#_getViewAndValues:440
      at org.ametys.cms.content.CopyContentComponent#computeValues:396
      at org.ametys.cms.content.CopyContentComponent#editContent:364
      at org.ametys.cms.content.CopyContentComponent#editContent:337
      at org.ametys.cms.workflow.copy.CopyContentClientInteraction#editContentByCopy:151
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke0 (Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke:77
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl#invoke:43
      at java.base/java.lang.reflect.Method#invoke:568
      at org.ametys.core.ui.ExecuteClientCallsAction#_executeMethod:204
      at org.ametys.core.ui.ExecuteClientCallsAction#act:182
      at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:120
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#buildPipeline:194
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#buildPipeline:267
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:111
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#buildPipeline:194
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#buildPipeline:267
      at org.apache.cocoon.components.source.impl.SitemapSource#init:333
      at org.apache.cocoon.components.source.impl.SitemapSource#<init>:215
      at org.apache.cocoon.components.source.impl.SitemapSourceFactory#getSource:68
      at org.apache.excalibur.source.impl.SourceResolverImpl#resolveURI:208
      at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558
      at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558
      at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558
      at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatching:153
      at org.ametys.core.ui.dispatcher.DispatchGenerator#generate:95
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:483
      at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode#invoke:144
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.Cocoon#process:699
      at org.ametys.runtime.servlet.RuntimeServlet#service:718
      at javax.servlet.http.HttpServlet#service:733
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:227
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:162
      at org.apache.tomcat.websocket.server.WsFilter#doFilter:53
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:189
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:162
      at org.apache.catalina.core.StandardWrapperValve#invoke:202
      at org.apache.catalina.core.StandardContextValve#invoke:97
      at org.apache.catalina.authenticator.AuthenticatorBase#invoke:542
      at org.apache.catalina.core.StandardHostValve#invoke:143
      at org.apache.catalina.valves.ErrorReportValve#invoke:92
      at org.apache.catalina.valves.AbstractAccessLogValve#invoke:687
      at org.apache.catalina.core.StandardEngineValve#invoke:78
      at org.apache.catalina.connector.CoyoteAdapter#service:346
      at org.apache.coyote.http11.Http11Processor#service:374
      at org.apache.coyote.AbstractProcessorLight#process:65
      at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:887
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1684
      at org.apache.tomcat.util.net.SocketProcessorBase#run:49
      at java.base/java.util.concurrent.ThreadPoolExecutor#runWorker:1136
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker#run:635
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:61
      at java.base/java.lang.Thread#run:833

      2/ de conteneur :

      java.lang.IllegalArgumentException: Item 'pilotage/CodeAnu' not found in models: 'Optional[org.ametys.plugins.odf.Content.container]'.

      3/ d'ELP :

      java.lang.IllegalArgumentException: Item 'pilotage/mcc/mccSession1/duree' not found in models: 'Optional[org.ametys.plugins.odf.Content.course]'.

       

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

              Created:
              Updated:
              Resolved: