AnsweredAssumed Answered

Versionable Items not visible - Alfresco 4.0c

Question asked by tomaxdb on May 17, 2012
Latest reply on Jun 14, 2012 by jpotts

yesterday I did an upgrade from 3.4d to 4.0c. No errors and only some warnings after several hours struggling with the upgrade process.
Now I've a problem with Items that are versioned. If I navigate to a folder in repository with several versioned items I only get a red bar showing the message "No items". In alfresco.log I found the following error:

Caused by: freemarker.core.InvalidReferenceException: Error on line 4, column 75 in org/alfresco/slingshot/documentlibrary-v2/item.lib.ftl
node.versionHistory[0].versionLabel is undefined

This is the corresponding code line in item.lib.ftl:
<#if node.hasAspect("cm:versionable") && node.versionHistory?size != 0><#assign version = node.versionHistory[0].versionLabel></#if>

There is also an unresolved issue on this problem:

But this one is about an ACP Package, which has been imported. I didn't import anything.

Has anyone had a similar problem?
Or does anyone can give me a hint to solve this problem?