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

[Bug][api] The task resource could not be deleted #3719

Closed
blue0305 opened this issue Sep 11, 2020 · 4 comments
Closed

[Bug][api] The task resource could not be deleted #3719

blue0305 opened this issue Sep 11, 2020 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@blue0305
Copy link

image
If a resource in the resource center has been deleted, the deleted resource cannot be deleted from the task, and the entire task can only be deleted without the task being created

@blue0305 blue0305 added the bug Something isn't working label Sep 11, 2020
@xingchun-chen xingchun-chen changed the title [Bug][Module Name] Bug title The task resource could not be deleted [Bug][api] The task resource could not be deleted Sep 11, 2020
@xingchun-chen xingchun-chen added this to the 1.3.3-release milestone Sep 11, 2020
@xingchun-chen
Copy link
Contributor

@break60 please fix it

@break60
Copy link
Contributor

break60 commented Sep 11, 2020

Just delete the prohibited attribute
image
image

@AhahaGe
Copy link
Contributor

AhahaGe commented Sep 14, 2020

I suggest we should not delete resource in resource center if it has been used in task as it will cause some task schedule error.

@xingchun-chen
Copy link
Contributor

xingchun-chen commented Sep 18, 2020

The problem only exists in version 1.3.2,There are 2 solutions to this problem:
Method 1: Delete the resource id that does not exist in the resourceList in the database t_ds_process_definition.process_definition_json
image
Method 2: According to the pr above, change the front-end source code and recompile, replace the ui in the installation directory with the compiled ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants