Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Visual Mode for editing plans removes blank variables
-
When editing a plan in Text Mode I include a parameter for a Powershell script with a blank value. When switching to Visual Mode and then back to Text Mode, the parameter is removed from the plan. This causes the powershell script to fail when that parameter is required. Is it possible to turn off this behavior?
Before (in text mode):
PSCall post_jira_comment ( Comment: SomeMessage, Ticket: Issue-1, BlankParam: "" );After switching to Visual and then back to Text Mode:
PSCall post_jira_comment ( Comment: SomeMessage, Ticket: Issue-1 );Product: BuildMaster
Version: 5.8.3 -
I've come across this too... but I'm pretty certain it's not going to possible. In the visual editor, all properties all text boxes that are blank by default (which means, not specified), and any characters in those boxes are always escaped (
""would become"\"\"").I made a variable function called $Empty that just returns
"". Maybe I'll submit as a pull request to InedoCore...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login