'XML Document Define' action fails under some circumstances

OK, this is a little wierd.

Steps to Repeat:

  • Close any previously open FinalBuilder instances.
  • Start FinalBuilder and create a new project
  • Create a new 'XML Document Define' action with the following information:
    XML Document Name=MyXMLDoc
    Create XML Document from text:{Paste or create some XML into this field}
  • Create a new 'XML Save Document' action with the following information:
    XML Document=MyXMLDoc
    Save to=C:\Test.xml
  • Save the FinalBuilder project file.
  • Run the project by pressing 'F5' and verify that both actions complete successfully.
  • Select both actions, right-click and select 'Run Selected Actions' and verify that both actions complete successfully.
  • Close the project using the 'File->Close' menu item (or restart FinalBuilder).
  • Open the FinalBuilder project.
  • Select both actions, right-click and select 'Run Selected Actions' and verify that the second action fails due to the 'XML Document Define' action creating a new XML document called 'Copy_of_MyXMLDoc'.

If you press 'F5' both actions run successully and the 'Run Selection Actions' step will subsequently succeed.

The failure occurs when opening the project for the first time or changing the XML document's name and then selecting 'Run Selection Actions' on the action.

I have also tested this on v7.0.0.1442 and the failure is the same. I have attached a simple project file to save the initial typing steps (so onlyt he final 2 steps are required).

Update: I used an old ghost image of our build PC with v7.0.0.993 and this does not have the problem.

XML_Test.fbp7 (18.24 KB)

Hi Matt

I can reproduce that here. The problem is probably caused by a recent change to how the “Run Selected Actions” feature works, a change that was made to enable a number of bug fixed that couldn’t otherwise be fixed due to architectural issues. I have a feeling I know what the problem is, I’ll take a look at it when I get into the office tomorrow.