cancel
Showing results for 
Search instead for 
Did you mean: 

Error editing web forms in ASR deployment

damien77
Champ in-the-making
Champ in-the-making
Hi,

I'm encountering an error when trying to edit content deployed using ASR from one Alfresco instance to another.

I'm trying to export a web project from a 'test' Alfresco instance to a 'live' Alfresco instance. To do this, I'm doing the following -

I export the web forms from the test instance, and import them on to the live instance.
I create a web project with a matching DNS name on the live instance, and add the imported forms.
I perform an ASR deployment from the test instance to the live instance.

At this point, I have a copy of the web project, and I can open content using the web forms. Also, I can preview the web content without any problems (the pages are mostly static, with some templating applied using Velocity). However, if I try to edit the content, I get the following error when trying to submit the form.

Please correct the errors below then click Finish.
    * Node does not exist: workspace://SpacesStore/………

Editing the renditions or WCM XML files brings up the correct web form, but there is clearly some other association between content and form that isn't being captured by the ASR process. Trying to regenerate the renditions of the web forms also causes the same error to appear. Any ideas as to how I can 'fix' the deployed content?

Regards,
Damien.
1 REPLY 1

damien77
Champ in-the-making
Champ in-the-making
After some investigation, I've discovered that the node in the error message refers to one of the renditions of the original form.

When importing the form, Alfresco creates new node ids for the form and it's content. I'm going to try to re-associate the data to the web forms, and see if this fixes the problem.

I'm curious to know how data is associated to forms, as Alfresco is able to associate the correct web form to the data, but is not able to recreate the rendition.