Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWF-Editor: Error Handling, parser and validation #1655

Open
Tracked by #1127
handreyrc opened this issue Nov 30, 2024 · 0 comments
Open
Tracked by #1127

SWF-Editor: Error Handling, parser and validation #1655

handreyrc opened this issue Nov 30, 2024 · 0 comments
Assignees
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow area:tools Issues affecting Apache KIE tooling projects

Comments

@handreyrc
Copy link

handreyrc commented Nov 30, 2024

Summary

The goal of this task is to povide means to gather and consolidate SWF content errors in a single place. It should be possible to verify if there are errors coming from the marshaller / parser (content to model) and if there are rules violation before the workflow is rendered / reloaded.

Description

  • Create a component to gather marshaller / parser and rule validation errors in a way the errors can be verified and recovered before the workflow is rendered
  • If it is the first time the content is being loaded and there are errors the workflow shouldnt be rendered, an error page shall be presented instead
  • If the workflow was valid before and the same workflow content is set with errors, the valid version of the worflow shall remain on the screen
  • Update storybook to contain workflow samples of the same workflow content, one valid and other with errors

Testing

  • Run the component and load an invalid workflow from storybook so the error page shall be presented instead.
  • Run the component and load a valid workflow from storybook then open the same workflow content with errors and check if the last valid workflow view is still visible.
@handreyrc handreyrc added area:tools Issues affecting Apache KIE tooling projects area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow labels Nov 30, 2024
@handreyrc handreyrc self-assigned this Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sonataflow Related to CNCF Serverless Workflow Spec and SonataFlow area:tools Issues affecting Apache KIE tooling projects
Projects
None yet
Development

No branches or pull requests

1 participant