In my project I had copy/pasted a "Send Email" action and the copy ended up without a email subject. Didn't catch that as validation is only performed when trying to run the project and I forgot to do that :-(
All of a sudden my scheduled builds stopped running without any indication as to why. IDE fires up, project loads and immediately IDE exists (even with the /f cmd line switch). Couldn't find any log files etc. telling me why it happened.
I know this is an edge case but I think FB should in some way log this type of error when running from the cmd line.
I’m not sure why the subject was copied as blank, that sounds like a bug. I tried it here and it worked fine.
Also, by default, validation is performed when you close the property dialog of an action (as well as at the start of a build). Unfortunately this wouldn’t have helped you in this case, but we’d expect people to either do a test run before they schedule their builds or open an action after it’s been copied to either check or change the values of the action.
Validation errors aren’t regarded as failures too, which is why the /f flag didn’t do anything - maybe we should change this behaviour.
btw. Is there any reason you’re scheduling your builds to run in the IDE and not FBCMD?
Just tried to copy that action again and deleting the subject. I do get the warning down in the tab area. I probably just didn’t notice it down there last time… I agree that there is ample warnings, its just that I think the /f option should produce one as well but as I said its an edge case
The reason I am not using FBCMD is laziness. First when it came out I though “I will change it soon” but before I got around to it you started informing about FB Server so now I am back at “I will change it soon to FB Server” :-)))