Project

General

Profile

Actions

Bug #2657

closed

PDC - Impossible de supprimer une valeur

Added by Andry Rabemanantsoa about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plan de classement
Target version:
-
Start date:
11/18/2011
Due date:
% Done:

100%

Estimated time:
Navigateur:
Tous
Votre version de Silverpeas:
5.7.2
Système d'exploitation:
Linux
Votre base de données:
PostgreSQL
Livraison en TEST:
Livraison en PROD:

Description

Bonjour,

Sur notre projet, qui utilise aussi un look, nous n'arrivons pas à supprimer les valeurs du plan de classement, même si elles ne sont associé à aucun document.

Voici le message d'erreur que nous obtenons :

!!! Message pdcPeas.CANNOT_DELETE_VALUE NOT INITIALIZED !!!
Impossible de supprimer la valeur.
Impossible de détruire le noeud.
Can't use query methods that take a query string on a PreparedStatement. 

org.postgresql.util.PSQLException: Can't use query methods that take a query string on a PreparedStatement.
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:294)
    at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:249)
    at com.stratelia.silverpeas.treeManager.control.TreeDAO.deleteNode(TreeDAO.java:147)
    at com.stratelia.silverpeas.treeManager.control.TreeBmImpl.deleteNode(TreeBmImpl.java:945)
    at com.stratelia.silverpeas.pdc.control.PdcBmImpl.deleteValue(PdcBmImpl.java:1291)
    at com.stratelia.silverpeas.pdcPeas.control.PdcSessionController.deleteValue(PdcSessionController.java:319)
    at com.stratelia.silverpeas.pdcPeas.servlets.PdcRequestRouter.getDestination(PdcRequestRouter.java:543)
    at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.computeDestination(ComponentRequestRouter.java:195)
    at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:84)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
    at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:93)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
    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:274)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
    at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
    at java.lang.Thread.run(Thread.java:662)

Related issues

Is duplicate of Silverpeas Core - Bug #2539: Erreur lors de la suppression d'une valeur d'un axe du plan de classementClosedNicolas Eysseric10/13/2011

Actions
Actions #1

Updated by Nicolas Eysseric about 10 years ago

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

Ce problème est corrigée dans la version 5.7.3.
Cf bug #2539

Actions

Also available in: Atom PDF