can not delete version using version service

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2011 08:30 AM
Hi all,
I'm using version service to delete the version.
I'm getting the error:
org.alfresco.repo.security.permissions.AccessDeniedException: 11270200 Access Denied. The system is currently in read-only mode.
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:225)
….
If the system is in read-only mode, why I can create the document, create the new version, delete the document…. but not for delete version.
The alfresco version is 3.4.0 (and 4.0 community)
Thanks
I'm using version service to delete the version.
I'm getting the error:
org.alfresco.repo.security.permissions.AccessDeniedException: 11270200 Access Denied. The system is currently in read-only mode.
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:225)
….
If the system is in read-only mode, why I can create the document, create the new version, delete the document…. but not for delete version.
The alfresco version is 3.4.0 (and 4.0 community)
Thanks
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2011 08:43 AM
Hi Nhinguyen,
Are you currently using Enterprise version? If yes, then the error is due to an expired/no license.
If no, can you please paste the log when you give a start to Alfresco.
Thanks,
Are you currently using Enterprise version? If yes, then the error is due to an expired/no license.
If no, can you please paste the log when you give a start to Alfresco.
Thanks,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2011 05:16 AM
If you are using the trail version and license got expired it will show up in your logs during startup of alfresco.
Also if that is the case you will not be allowed to create new content.
So,If you are able to do other operations and problem is just with versioning license is not an issue.
Also if you are using any java code for this then you should set the user as system or admin before using APIs of delete.
Also if that is the case you will not be allowed to create new content.
So,If you are able to do other operations and problem is just with versioning license is not an issue.
Also if you are using any java code for this then you should set the user as system or admin before using APIs of delete.
