Actions
Bug #3932
ferméImpossible de créer un raccourci d'une publication dans une autre GED où le classement PDC est obligatoire
Début:
13/11/2012
Echéance:
% réalisé:
100%
Temps estimé:
Navigateur:
Tous
Votre version de Silverpeas:
5.10.2
Système d'exploitation:
Votre base de données:
Toutes
Livraison en TEST:
Livraison en PROD:
Description
Pour reproduire le problème :
- installer une GED A avec le PDC activé
- paramétrer la GED pour avoir un axe obligatoire
- installer une GED B
- créer une publi
- allez dans emplacements et créer un raccourci dans la GED A
- dans la ged A, cliquer sur le raccourci
- et vous obtenez l'exception suivante :
16:49:16,263 INFO [STDOUT] nested : !!! Message kmelia.EX_IMPOSSIBLE_DOBTENIR_LE_SILVEROBJECTID NOT INITIALIZED !!! 16:49:16,263 INFO [STDOUT] nested : !!! Message kmelia.EX_IMPOSSIBLE_DOBTENIR_LE_SILVEROBJECTID NOT INITIALIZED !!! 16:49:16,263 INFO [STDOUT] nested : Impossible d'ajouter un SilverContent 16:49:16,263 INFO [STDOUT] nested (Deepest) : 16:49:16,263 INFO [STDOUT] org.postgresql.util.PSQLException: ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « uqe_contentmanager_content » 16:49:16,263 INFO [STDOUT] at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2101) 16:49:16,263 INFO [STDOUT] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1834) 16:49:16,263 INFO [STDOUT] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) 16:49:16,264 INFO [STDOUT] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:510) 16:49:16,264 INFO [STDOUT] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:386) 16:49:16,264 INFO [STDOUT] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:332) 16:49:16,264 INFO [STDOUT] at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:365) 16:49:16,264 INFO [STDOUT] at com.stratelia.silverpeas.contentManager.ContentManager.addSilverContent(ContentManager.java:608) 16:49:16,264 INFO [STDOUT] at com.stratelia.webactiv.kmelia.KmeliaContentManager.createSilverContent(KmeliaContentManager.java:97) 16:49:16,264 INFO [STDOUT] at com.stratelia.webactiv.kmelia.control.ejb.KmeliaBmEJB.createSilverContent(KmeliaBmEJB.java:3269) 16:49:16,264 INFO [STDOUT] at com.stratelia.webactiv.kmelia.control.ejb.KmeliaBmEJB.getSilverObjectId(KmeliaBmEJB.java:3254) 16:49:16,264 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 16:49:16,265 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 16:49:16,265 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 16:49:16,265 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:597) 16:49:16,265 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:386) 16:49:16,265 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233) 16:49:16,265 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156) 16:49:16,265 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173) 16:49:16,265 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) 16:49:16,265 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) 16:49:16,265 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) 16:49:16,266 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) 16:49:16,266 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228) 16:49:16,266 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211) 16:49:16,266 INFO [STDOUT] at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:100) 16:49:16,266 INFO [STDOUT] at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:84) 16:49:16,266 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) 16:49:16,266 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) 16:49:16,266 INFO [STDOUT] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650) 16:49:16,266 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:1072) 16:49:16,266 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor506.invoke(Unknown Source) 16:49:16,267 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 16:49:16,267 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:597) 16:49:16,267 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) 16:49:16,267 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) 16:49:16,267 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 16:49:16,267 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) 16:49:16,267 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) 16:49:16,267 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) 16:49:16,267 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) 16:49:16,267 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) 16:49:16,268 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) 16:49:16,268 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) 16:49:16,268 INFO [STDOUT] at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64) 16:49:16,268 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68) 16:49:16,268 INFO [STDOUT] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112) 16:49:16,268 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101) 16:49:16,268 INFO [STDOUT] at $Proxy347.getSilverObjectId(Unknown Source) 16:49:16,268 INFO [STDOUT] at com.stratelia.webactiv.kmelia.control.KmeliaSessionController.isPublicationClassifiedOnPDC(KmeliaSessionController.java:2536) 16:49:16,268 INFO [STDOUT] at com.stratelia.webactiv.kmelia.control.KmeliaSessionController.isDraftOutAllowed(KmeliaSessionController.java:1712) 16:49:16,268 INFO [STDOUT] at org.apache.jsp.kmelia.jsp.publication_jsp._jspService(publication_jsp.java:1641) 16:49:16,269 INFO [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
Actions