"If Prev Action Failed" action

Hello,

I was wondering if there is a bug in the "If Prev Action Failed" action. I have a script that builds multiple delphi projects. When a projects gives an error when building the script normaly terminates. I checked the "Ignore Failure" checkbox to make sure the rest of the projects will be build. When the action fails i catch this with the "If Prev Action Failed" action. In previous version of final builder this worked fine, the action fails, i catch it and i do something. But lately this mechanisme doesn't work anymore. Please could you check this for me?

I have attached a screendump of FinalBuilder.

samplescreen.jpg

Hi Richard

Your attachment didn’t show… I just tested this here at home and it worked as expected (using the latest release build). Can you send your project or the part of the project where it isn’t working to support and I’ll take a look at it in the morning.

Hi Vincent,

I wanted to upload my project but even when it is zipped it is 20Mb, and the server didn’t like that.

Your remark about the attachment not showing the problem, can you colaberate on that.
When i look at the attachment i see in the build log that the “Compile Delphi Win32 Project” action is marked with a -, i guess this means it failed but the failure is ignored. Then the “If Prev Action Failed” action show the line “Previous action succeeded, child actions will not be run” (highlighted).

If you still would like to receive my project can you tell me how to send it to you.

It sounds to me like the previous action was skipped, in which case the behavior you are seeing is normal. What is the action and does it have a condition set or a BeforeAction script?

Zip the project (.fbp6 or .fbpz file) without the log file and send it to “support at finalbuilder dot com” and we’ll take a look and see if we can figure it out.

Hi Vincent,

I have attached the fbz6 file, i hope this is enough.

I thought that skipped actions were marked with a down arrow. Unfortunatly i don't have any old log files to check what happend in the version that worked. As you can see i have managed to include the screenshot.

samplescreen.JPG

BuildElpado_D2007.fbz6 (28.722 KB)

The problem is that the previous action didn’t fail… the action will only look at it’s previous sibling (The Else action)… in your case a child of the previous action failed.

I’m 100% certain that this construction did work in previous versions of Final Builder. I’m using this almost from the start.
But if i’m correct you are now saying that i have to implement the “If Perv Action Failed” action twice in each build branch and make some construction so that i have to do some things only once.

Can you check in your code if in previous version the action didn’t look at the action on the same level like it does now?