Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1467

Error on notification sending

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.9.0
    • 2.9.0
    • Other
    • None
    • 4.6 RC4

      When: 

      • commenting a news
      • updating a news
      • creating a brief

      following error is displayed : 

      (correct path is illustration/alt-text and not illustration/alt)

       

      Date : 09/03 12:02:59.436
      ThreadThread[ametys-async-observe-2,5,main]
      Niveau : ERROR
      Catégorie : org.ametys.plugins.userdirectory.transformation.xslt.UserXSLTHelper
      URI de la requête : /cms/generate/englishproject/_plugins/workspaces/servercomm/fo-request.xml
      Message : 
      
      An error occurred, impossible to get attribute at path 'illustration/alt'
      
      Emplacement : org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      
      Pile d'appels :
      
      org.ametys.runtime.model.exception.UndefinedItemPathException: Unable to generate SAX events for the data at path 'illustration/alt'. There is no such item defined by the model.
      at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder#_checkDefinition:1022
      at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder#_checkDefinition:1002
      at org.ametys.cms.data.holder.impl.DefaultModelAwareDataHolder#dataToSAX:828
      at org.ametys.cms.transformation.xslt.AmetysXSLTHelper#_getNodeValues:335
      at org.ametys.cms.transformation.xslt.AmetysXSLTHelper#contentAttribute:281
      at org.ametys.cms.transformation.xslt.AmetysXSLTHelper#contentAttribute:266
      at jdk.internal.reflect.GeneratedMethodAccessor351#invoke (Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl#invoke:43
      at java.base/java.lang.reflect.Method#invoke:568
      at org.apache.xalan.extensions.ExtensionHandlerJavaClass#callFunction:367
      at org.apache.xalan.extensions.ExtensionHandlerJavaClass#callFunction:440
      at org.apache.xalan.extensions.ExtensionsTable#extFunction:222
      at org.apache.xalan.transformer.TransformerImpl#extFunction:475
      at org.apache.xpath.functions.FuncExtFunction#execute:208
      at org.apache.xpath.Expression#executeCharsToContentHandler:313
      at org.apache.xalan.templates.ElemValueOf#execute:274
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemIf#execute:162
      at org.apache.xalan.templates.ElemApplyTemplates#transformSelectedNodes:395
      at org.apache.xalan.templates.ElemApplyTemplates#execute:178
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.templates.ElemApplyTemplates#transformSelectedNodes:395
      at org.apache.xalan.templates.ElemApplyTemplates#execute:178
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemTemplate#execute:394
      at org.apache.xalan.templates.ElemCallTemplate#execute:248
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemTemplate#execute:394
      at org.apache.xalan.templates.ElemCallTemplate#execute:248
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemTemplate#execute:394
      at org.apache.xalan.templates.ElemCallTemplate#execute:248
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.templates.ElemLiteralResult#execute:1376
      at org.apache.xalan.templates.ElemApplyTemplates#transformSelectedNodes:395
      at org.apache.xalan.templates.ElemApplyTemplates#execute:178
      at org.apache.xalan.transformer.TransformerImpl#executeChildTemplates:2402
      at org.apache.xalan.transformer.TransformerImpl#applyTemplateToNode:2272
      at org.apache.xalan.transformer.TransformerImpl#transformNode:1358
      at org.apache.xalan.transformer.TransformerImpl#run:3449
      at org.apache.xalan.transformer.TransformerHandlerImpl#endDocument:408
      at org.apache.cocoon.xml.AbstractXMLPipe#endDocument:56
      at org.apache.cocoon.transformation.TraxTransformer#endDocument:586
      at org.ametys.plugins.workspaces.project.generators.AbstractMailNotifierGenerator#generate:114
      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.source.impl.SitemapSource#getInputStream:267
      at org.ametys.plugins.workspaces.project.notification.NotifyActivityObserver#getMailBody:185
      at org.ametys.plugins.workspaces.project.notification.NotifyActivityObserver#notify:139
      at org.ametys.plugins.workspaces.project.notification.NotifyActivityObserver#observe:116
      at org.ametys.core.observation.ObservationManager$ParallelAsyncObserve#_observe:488
      at org.ametys.core.observation.ObservationManager$AbstractAsyncObserve#call:438
      at java.base/java.util.concurrent.FutureTask#run:264
      at java.base/java.util.concurrent.ThreadPoolExecutor#runWorker:1136
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker#run:635
      at java.base/java.lang.Thread#run:833

       

            ggouin Guillaume Gouin
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: