cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting web form content

mark_smithson
Champ in-the-making
Champ in-the-making
When a web form is deleted, it's renditions are not also deleted.

Is there a way to get Alfresco to delete the renditions when the web form xml is deleted?
3 REPLIES 3

kvc
Champ in-the-making
Champ in-the-making
Good news:  This has been fixed in 2.1.0 Enterprise BETA, and will ship with our 2.1.0 Enterprise release (and subsequently merged back into HEAD for those checking out nightly builds).

Now, if you delete either the XML or any one of its renditions, the delete confirmation dialog asks you whether you want to delete the current item and  all associated ones.  Your options are either to delete or not delete - just like with submit, they always go as a set.

We are also looking into enabling move and rename and adding similar behavior, but those two will more than likely be part of a subsequent 2.x release.

Kevin

d_mon
Champ in-the-making
Champ in-the-making
so if you, say have article.xml, article.html and article.jsp, if you click on trash item next to article.html you should get the delete confirmation dialog about article.xml and article.jsp deletion?
And what if renditions were put into directories created with output path value taken from xml? Will it also delete these directories or not?

kvc
Champ in-the-making
Champ in-the-making
D!mon:

Unfortunately, we won't be able to delete the generated directories - there's really no way to do this safely (something else may be been added to it in the meantime).

Kevin