Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 30/08/2011 11:01:19

Cédric Damioli
Ametys Product Manager
From: Toulouse
Registered: 10/08/2010
Posts: 336

Ametys 3.1.2

Nous avons livré une version de maintenance de la branche 3.1.

L'application de démo est disponible à l'adresse  … 1.x/3.1.2/

Les différents plugins sont disponibles à

Cette version est directement compatible avec la 3.1 sans modifications ni migration

Il s'agit de la dernière version de maintenance de la branche 3.1.x, sauf bugs bloquants ou failles de sécurité

Offline

#2 08/09/2011 15:50:23

François Jannin
Guest
From: Toulouse
Registered: 21/10/2010
Posts: 35

Re: Ametys 3.1.2

Bonjour,

Après la mise à jour , j'ai une erreur sur certaines pages concernant le plugin news et le type de vue "link" : avec la 3.1.1 cette vue ne posait pas de problème.

<map:serialize type="xml">Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news'Failed to process pipeline<map:serialize type="xml"><map:generate type="inputdata"><map:serialize type="xhtml"><map:transform type="i18n"><map:transform>Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news'<map:serialize type="xml"><map:generate type="content"><map:serialize type="xhtml"><map:transform type="i18n"><map:transform type="docbook-enhancement"><map:transform><map:transform type="i18n">org.apache.cocoon.ProcessingException: Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news' at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:171:32 at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:166:50 at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1031:50 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1027:48 at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1026:64 at <map:transform> - resource://org/ametys/web/sitemap.xmap:1016:110 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1012:48 at org.ametys.cms.content.ContentGenerator._saxMetadata(ContentGenerator.java:275) at org.ametys.cms.content.ContentGenerator._saxContent(ContentGenerator.java:127) at org.ametys.cms.content.ContentGenerator._generateContent(ContentGenerator.java:97) at org.ametys.cms.content.ContentGenerator.generate(ContentGenerator.java:81) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.ametys.web.filter.ContentFilterHelper.saxContent(ContentFilterHelper.java:141) at org.ametys.web.filter.ContentFilterHelper.saxMatchingContents(ContentFilterHelper.java:97) at org.ametys.web.tags.inputdata.FilteredContentsInputData.saxFilter(FilteredContentsInputData.java:168) at org.ametys.web.tags.inputdata.FilteredContentsInputData.toSAX(FilteredContentsInputData.java:87) at org.ametys.web.inputdata.InputDataExtensionPoint.toSAX(InputDataExtensionPoint.java:80) at org.ametys.web.inputdata.InputDataGenerator.generate(InputDataGenerator.java:44) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) 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:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) 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:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132) at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) org.apache.cocoon.ProcessingException: Failed to process pipeline at <map:serialize type="xml"> - resource://org/ametys/web/workspace/sitemap.xmap:94:32 at <map:generate type="inputdata"> - resource://org/ametys/web/workspace/sitemap.xmap:93:37 at <map:serialize type="xhtml"> - resource://org/ametys/web/workspace/sitemap.xmap:797:34 at <map:transform type="i18n"> - resource://org/ametys/web/workspace/sitemap.xmap:794:32 at <map:transform> - resource://org/ametys/web/workspace/sitemap.xmap:776:47 at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:953) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:583) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) 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:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) 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:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:132) at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.cocoon.ProcessingException: Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news' at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:171:32 at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:166:50 at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1031:50 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1027:48 at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1026:64 at <map:transform> - resource://org/ametys/web/sitemap.xmap:1016:110 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1012:48 at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424) at org.ametys.web.filter.ContentFilterHelper.saxContent(ContentFilterHelper.java:141) at org.ametys.web.filter.ContentFilterHelper.saxMatchingContents(ContentFilterHelper.java:97) at org.ametys.web.tags.inputdata.FilteredContentsInputData.saxFilter(FilteredContentsInputData.java:168) at org.ametys.web.tags.inputdata.FilteredContentsInputData.toSAX(FilteredContentsInputData.java:87) at org.ametys.web.inputdata.InputDataExtensionPoint.toSAX(InputDataExtensionPoint.java:80) at org.ametys.web.inputdata.InputDataGenerator.generate(InputDataGenerator.java:44) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) ... 46 more Caused by: org.apache.cocoon.ProcessingException: Unknown metadata set 'link' of type 'view' for content type 'org.ametys.plugins.news.Content.news' at <map:serialize type="xml"> - resource://org/ametys/web/sitemap.xmap:171:32 at <map:generate type="content"> - resource://org/ametys/web/sitemap.xmap:166:50 at <map:serialize type="xhtml"> - resource://org/ametys/web/sitemap.xmap:1031:50 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1027:48 at <map:transform type="docbook-enhancement"> - resource://org/ametys/web/sitemap.xmap:1026:64 at <map:transform> - resource://org/ametys/web/sitemap.xmap:1016:110 at <map:transform type="i18n"> - resource://org/ametys/web/sitemap.xmap:1012:48 at org.ametys.cms.content.ContentGenerator._saxMetadata(ContentGenerator.java:275) at org.ametys.cms.content.ContentGenerator._saxContent(ContentGenerator.java:127) at org.ametys.cms.content.ContentGenerator._generateContent(ContentGenerator.java:97) at org.ametys.cms.content.ContentGenerator.generate(ContentGenerator.java:81) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:125) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) ... 53 more

Offline

#3 08/09/2011 17:34:18

Laurence Aumeunier
Expert Team
Registered: 10/08/2010
Posts: 154

Re: Ametys 3.1.2

Bonjour,

Quelle version du plugin news vous utilisez ? Si vous travaillez sur une version 3.1.2 du CMS, vous devez utiliser une version 1.0.x du plugin news. En effet suite à un bug concernant cette vue (), les versions 1.1.x du plugins news ne sont pas compatibles avec les 3.1.x du CMS.
Vous pouvez vous référer à la documentation du plugins news sur notre wiki :

Cdt,
Laurence.


Laurence Aumeunier
Ametys Expert

Offline

#4 09/09/2011 10:03:55

François Jannin
Guest
From: Toulouse
Registered: 21/10/2010
Posts: 35

Re: Ametys 3.1.2

Bonjour,

Merci pour cette information. 
Vous dites qu'il faut utiliser la version 1.0.x avec la 3.1.2
Or dans le zip 3.1.2, que vous proposez en téléchargement, il y a bien les jars ametys-plugin-news-resources-1.1.0.jar et ametys-plugin-news-resources-1.1.0.jar. Une erreur de packaging ?

De plus, dans le wiki sur le plugin news  que vous m'indiquez, le tableau de compatibilité indique que les plugins 1.1.x sont compatibles avec les versions 3.1.x.
Je vais tenter ma chance avec la version 1.0.0 du plugin news

Offline

#5 09/09/2011 10:18:43

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,117

Re: Ametys 3.1.2

En effet, il y a une incohérence qq part.
Je crois qu'au final les 1.1.x de news ne sont pas compatible et il y a eu une erreur de packaging et de doc... On vous tient au courant.


Raphael Franchet
Expert Ametys

Offline

Board footer

Powered by FluxBB