-
Notifications
You must be signed in to change notification settings - Fork 5k
[BUG] Front-end post wrong strategy value in timeout params #3028
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Front-end post empty string strategy value in timeout params, and the master and worker will produce the com.fasterxml.jackson.databind.exc.InvalidFormatException because of the enum type of strategy.
To Reproduce
- Create a new simple shell process definition in front-end.
- I just fill the name and code of shell node, do not fill or select the other options.
- Save the process definition and your will find out the front-end post the wrong empty string
strategyintimeoutofprocessDefinitionJson.
4.When you run the process definition, then master and worker will serde the processDefinitionJson to object, it will producecom.fasterxml.jackson.databind.exc.InvalidFormatExceptionbecause of the enum type ofstrategy.
Expected behavior
Front-end post empty string strategy value in timeout params.
Which version of Dolphin Scheduler:
-[dev]
**Requirement or improvement
- Fix the timeout strategy value when front-end post to the back-end or change enum serde of
strategy.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working


