SaiUtturkar opened a new issue, #14246:
URL: https://github.com/apache/dolphinscheduler/issues/14246

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Getting an error when trying to pass startup parameter value as following:
   SUM(CASE WHEN)
   
   The request is not getting submitted and no logs on master-server/api-server 
as request has not been submitted.
   
   
   ### What you expected to happen
   
   Workflow should have been triggered successfully as startup parameter is 
accepted as string only, so it doesn't make sense whether what string value is 
being passed.
   
   ### How to reproduce
   
   Create any workflow with a startup parameter and pass the value of startup 
parameter as follows:
   SUM(CASE WHEN)
   
   
![Space_bug](https://github.com/apache/dolphinscheduler/assets/34776583/dc4cd1f4-72de-42d9-b11a-ef91fc2588b5)
   
   
   ### Anything else
   
   When the same value is passed with an immediate white-space after the 
opening bracket, it gets successfully submitted and workflow gets triggered.
   SUM( CASE WHEN)
   
   I think this is something related to the regex parsing happening at UI side 
or maybe related to the URL encoding
   
   ### Version
   
   3.1.x
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to