Project

General

Profile

Actions

Bug #2154

closed

Un rédacteur ne peut pas créer de publication

Added by Pierre TEISSONNIERE over 10 years ago. Updated over 10 years ago.

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

0%

Estimated time:
Navigateur:
Firefox 4.x
Votre version de Silverpeas:
5.6
Système d'exploitation:
Votre base de données:
Toutes
Livraison en TEST:
Livraison en PROD:

Description

Quand un rédacteur veut créer un publication, il obtient un message d'erreur. LA création de publication fonctionne en tant que Gestionnaire.

Impossible de créer la publication
JDBC commit failed; nested exception is org.hibernate.TransactionException: JDBC commit failed
org.springframework.orm.hibernate3.HibernateSystemException: JDBC commit failed; nested exception is org.hibernate.TransactionException: JDBC commit failed
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:679)
at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:102)
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:471)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy484.getUserSettings(Unknown Source)
at com.stratelia.silverpeas.notificationManager.NotificationSender.notifyUser(NotificationSender.java:130)
at com.stratelia.silverpeas.notificationManager.NotificationSender.notifyUser(NotificationSender.java:87)
at com.stratelia.webactiv.kmelia.control.ejb.KmeliaBmEJB.notifyUsers(KmeliaBmEJB.java:601)
at com.stratelia.webactiv.kmelia.control.ejb.KmeliaBmEJB.sendValidationAlert(KmeliaBmEJB.java:3681)
at com.stratelia.webactiv.kmelia.control.ejb.KmeliaBmEJB.createTodosForPublication(KmeliaBmEJB.java:3593)
at com.stratelia.webactiv.kmelia.control.ejb.KmeliaBmEJB.createPublicationIntoTopic(KmeliaBmEJB.java:1428)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at ...
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.hibernate.TransactionException: JDBC commit failed
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:157)
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:76)
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:467)
... 84 more
Caused by: java.sql.SQLException: You cannot commit during a managed transaction!
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:661)
at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConnection.java:496)
at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:166)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142)
... 86 more


Related issues

Related to GED - Bug #2081: Impossible de créer une publication avec un rôle RedacteurClosed06/07/2011

Actions
Related to GED - Bug #2054: Pas de notification envoyée sur création de publicationClosedNicolas Eysseric06/01/2011

Actions
Actions #1

Updated by Emmanuel Hugonnet over 10 years ago

  • Status changed from New to Feedback

Pourriez vous valider que la correction du bug #2054 sur Silverpeas 5.6.1 ne suffit pas ?

Actions #2

Updated by Pierre TEISSONNIERE over 10 years ago

  • Status changed from Feedback to Closed

OK en 5.6.1

Actions

Also available in: Atom PDF