Change property of old version

cancel
Showing results for 
Search instead for 
Did you mean: 
gioppi
Member II

Change property of old version

Hi all,

 

I need to change some properties of an old version of a document. This seems to be a bit troublesome, the most logical way I could find has been to get a reference through getFrozenNodeRef() of the Version class and then trying to set the properties of that nodeRef. However I get the following error when trying:

This operation is not supported by a version store implementation of the node service

 

Is changing a property of a version which is not the latest even possible? I'm beginning to have some doubts. Thank you all!

1 Reply
angelborroy
Alfresco Employee

Re: Change property of old version

I guess you cannot modify the properties of a Version Node:

https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/version/...

Hyland Developer Evangelist