cancel
Showing results for 
Search instead for 
Did you mean: 

Renaming folders causes problems

marcus
Champ in-the-making
Champ in-the-making
If I rename a folder, it seems the relationship between an XML file and its renditions becomes broken to an extent. After looking in the db I see that the reference between the rendition is stored as an AVM noderef which uses the full path, which due to the folder name change, is no longer valid. Am I doing something incorrectly?
3 REPLIES 3

kvc
Champ in-the-making
Champ in-the-making
Marcus - no, you're not doing anything incorrectly.

This is a case we intend to handle with our upcoming Links Management capability.  Details on our planned Links Management support can be found here:

http://wiki.alfresco.com/wiki/Link_Management

Kevin

marcus
Champ in-the-making
Champ in-the-making
I'm not really sure this is links management as it's the reference between the XML file and its renditions that gets broken, meaning that the content is no longer xforms editable (the {http://www.alfresco.org/model/wcmappmodel/1.0}primaryforminstancedata property on the rendition doesn't match up).

arielb
Champ in-the-making
Champ in-the-making
actually, this will be fixed once we have search in the avm (which is coming up real soon).  once we have that, the renditions property will be obsolete and we'll locate renditions using a search based on primaryforminstancedata.  i think what kevin is referring to is the probability that links may be broken my a folder renaming which is a seperate but related issue.