Foros de discusión

Impossible to change Role/Permission for App Calendar

Sara Ceglie, modificado hace 9 años.

Impossible to change Role/Permission for App Calendar

New Member Mensajes: 9 Fecha de incorporación: 8/07/13 Mensajes recientes
Hi all,
(Liferay CE 6.2 + Tomcat 7). After installing Social Office, each our "social site" share a his own "Calendar". Trying to give the capability to view/manage/delete calandar events to the role "Power User", we gave full control on the Calendar events to this role. Later we realized that the scope of the events had to be at the social group level and we decided to give the following permissions to the "Site Member" for the "Calendar" app:
Delete
Manage Events
Update
View
View Event Details

Trying to modify "Site Member" role we obtain the following error message in the Admnistration Panel "Site Member" --> "Define Permissions" : "Roles is temporarily unavailable".

We found in catalina.log the following ERRORS

09:47:32,166 ERROR [ajp-bio-8009-exec-36][JDBCExceptionReporter:82] L'operazione «batch» 0 update ResourceBlock set companyId='10157', groupId='193256', name='com.liferay.calendar.model.CalendarResource', permissionsHash='9bdcc2b8ae93944a88e1095f54f8eb8df01f5c5d', referenceCount='1' where resourceBlockId='1052' è stata interrotta. Chiamare «getNextException» per scoprirne il motivo.
09:47:32,168 ERROR [ajp-bio-8009-exec-36][JDBCExceptionReporter:82] ERRORE: un valore chiave duplicato viola il vincolo univoco "ix_aeea209c"_ Dettaglio: La chiave (companyid, groupid, name, permissionshash)=(10157, 193256, com.liferay.calendar.model.CalendarResource, 9bdcc2b8ae93944a88e1095f54f8eb8df01f5c5d) esiste già .
09:47:32,170 ERROR [ajp-bio-8009-exec-36][DefaultTransactionExecutor:93] Application exception overridden by commit exception
org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [update ResourceBlock set companyId=?, groupId=?, name=?, permissionsHash=?, referenceCount=? where resourceBlockId=?]; constraint ; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637)
at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:793)
at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.processCommit(DefaultTransactionExecutor.java:82)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:70)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
[...]

Thanks in advance for any hint.
Sara
Aarti Dholiya, modificado hace 9 años.

RE: Impossible to change Role/Permission for App Calendar

New Member Mensajes: 22 Fecha de incorporación: 8/02/12 Mensajes recientes
Hi All,

Any updates on this?
I am also facing the same issues.

Regards,
Arti Dholiya
Haris Ahmed, modificado hace 8 años.

RE: Impossible to change Role/Permission for App Calendar

New Member Mensajes: 4 Fecha de incorporación: 16/07/14 Mensajes recientes
Facing the same issue
thumbnail
Dámaris Suárez Corrales, modificado hace 6 años.

RE: Impossible to change Role/Permission for App Calendar

New Member Mensajes: 14 Fecha de incorporación: 2/03/17 Mensajes recientes
Me too, anyone found a solution for this?