[CMA-25] Version service doesn't grab correct information of versioned content Created: 16/Jul/08  Updated: 21/May/10  Resolved: 18/Jul/08

Status: Closed
Project: Remote Alfresco API rivet
Component/s: CMA Alfresco, CMA API
Affects Version/s: 1.2.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Dong-Jun Kim [X] (Inactive) Assignee: Dong-Jun Kim [X] (Inactive)
Resolution: Not a Bug Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
Version version = versionService.getVersionHistory(ticket, destinationNodeRef).getAllVersions().iterator().next();

version.getVersionProperty(ContentModel.PROP_NAME.getLocalName())

is not equal to

nodeService.getProperties(ticket, version.getFrozenStateNodeRef()).get(ContentModel.PROP_NAME)

We are not sure if it should be the same, please, check.

 Comments   
Comment by hlim [ 18/Jul/08 ]
can you investigate this issue?
Comment by schalasani [ 18/Jul/08 ]
Alfresco returns the node-uuid name for version.getVersionProperty(ContentModel.PROP_NAME.getLocalName()) . So the two names are different. Alfresco behaves in this way so it is not a bug.
Generated at Sat Feb 10 05:51:23 GMT 2024 using Jira 8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6.