Project

General

Profile

Actions

Bug #2531

closed

Lien de notification vers fichier joint

Added by Emmanuel GRANGE over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Target version:
-
Start date:
10/12/2011
Due date:
% Done:

100%

Estimated time:
Navigateur:
Firefox 6.x
Votre version de Silverpeas:
5.5.6
Système d'exploitation:
Linux
Votre base de données:
PostgreSQL
Livraison en TEST:
Livraison en PROD:

Description

Bonjour,

L'accès au lien directe d'une notification sur un fichier joint provoque une erreur à l'ouverture du portail.

Le lien ressemble à : https://www.mgicoutier.net/silverpeas/autoRedirect.jsp?domainId=3&goto=%2FRkmelia%2Fkmelia5856%2FsearchResult%3FType%3DAttachment%26Id%3D86083%26AttachmentId%3D164253%26FileOpened%3D0

Étrangement, si l'on a déjà accédé une fois à la publication dans la session en cours, on ouvre correctement à la publication et au fichier.
De plus, une notification sur la publication entière fonctionne correctement.

Le message d'erreur est le suivant :
java.lang.NullPointerException
at com.stratelia.webactiv.kmelia.servlets.KmeliaRequestRouter.processPath(KmeliaRequestRouter.java:2147)
at com.stratelia.webactiv.kmelia.servlets.KmeliaRequestRouter.getDestination(KmeliaRequestRouter.java:555)
at com.stratelia.webactiv.kmelia.servlets.KmeliaRequestRouter.getDestination(KmeliaRequestRouter.java:277)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.computeDestination(ComponentRequestRouter.java:194)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:83)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doGet(ComponentRequestRouter.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:662)


Files

Image_931.png (8.87 KB) Image_931.png Emmanuel GRANGE, 10/12/2011 01:24 PM

Related issues

Is duplicate of GED - Bug #1862: Erreur de lien dans une notification manuelleClosedNicolas Eysseric04/06/2011

Actions
Actions #1

Updated by Nicolas Eysseric over 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Cette anomalie est corrigée depuis la version 5.6.1 de Silverpeas.
https://www.silverpeas.org/redmine/issues/1862

Actions

Also available in: Atom PDF