cancel
Showing results for 
Search instead for 
Did you mean: 

Version control

dtnsolutions
Champ in-the-making
Champ in-the-making
Hi,
Alfresco 1.1 is running perfectly on my Linux server with Tomcat and Mysql. Permission control is working, thanks to Alfresco Team.
I have two questions:
1. I can not find and documents describing the differences between pre-defined roles in Alfresco 1.1. Could you please tell me about this.
2. I login as admin, create a new Space, then invite a normal user will 3 roles: Contributor, Coordinator, Editor (since I don't know the differences, I have to chose all, except Guest). I login as the invited user and add a new odt file (Open Document Text file), after that I view detail of that document and click the link Version History, the following exception occured (If I login as admin and click this link, the system works fine):

javax.faces.FacesException: Cannot get value for expression '#{DocumentDetailsBean.versionHistory}'

caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{DocumentDetailsBean.versionHistory}'

caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{DocumentDetailsBean.versionHistory}'

caused by:
javax.faces.el.EvaluationException: org.alfresco.web.bean.DocumentDetailsBean

caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.DocumentDetailsBean, property: versionHistory

caused by:
java.lang.reflect.InvocationTargetException

caused by:
org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied. You do not have the appropriate permissions to perform this operation.

caused by:
net.sf.acegisecurity.AccessDeniedException: Access is denied.

Does anyone have any idea about this?

Thank you,
Regards,
Tien Nguyen
6 REPLIES 6

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Have a look at this thread for some info on the various roles.

I'll have a look into the version problem you have raised and let you know the outcome.

Thanks,
Roy

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

I have done some investigation into this issue and it appears to be a bug with the create content wizard.

It looks like when the author attribute is set on this wizard it may be overriding the owner information which is causing problems when looking at the properties.

The reason you have seen this issue with only some documents is because the meta-data extraction for some document types (eg Word) populates the author field.

The work around for now is to ensure that the author tag on the create content wizard is blank, the author can be successfully edited once the document has been created.

I have raised a JIRA task here so that you can track it progress.

Thanks for spotting this,
Roy

dtnsolutions
Champ in-the-making
Champ in-the-making
Thank you, Roy.
I followed your work-around solution. I add a new opendocument text file, clear the Author field. Then a view detail of that document and I can expand the version history. But when I login as another user account (not admin) and view detail of that document, the detail screen appears, when I click on the link version history, the same exception occcured.
Did you get the same problem?
Regards,
Nguyen Duc Tien

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

I'm not seeing that problem, but I'll add the use case to the JIRA task so it gets checked when the fix is done.

Thanks,
Roy

kevinr
Star Contributor
Star Contributor
I have raised a JIRA task here so that you can track it progress.

Thanks for spotting this,
Roy

it's already been spotted, and reported: http://www.alfresco.org/jira/browse/AR-299

kevinr
Star Contributor
Star Contributor
Issue has been fixed, will be available in the next nightly build/release. SVN commit 2034.

Cheers,

Kev