optimajet/WorkflowEngine.NET

Can't delete global CodeActions

Yousefjb opened this issue · 0 comments

Not sure how this can be reproduced but here what i did ..

  • Create CodeAction and mark it global, and save.
  • Delete CodeAction, and save.
  • Open CodeActions window again and it is still there.

What i was actually doing is making a global method non-global by unchecking global checkbox in CodeAction window, then saved the scheme. Reloaded the page and checked code actions to see that all global code actions still there AND there is also a duplicate of them as non-global code actions.

If I try to close the code actions windows it will mark my codeactions with red color ( duplicate names ). Now i try to delete the global actions to get rid of the duplicate error, but they are reappear after I save my scheme and reload it.

I hope I was clear.

EDIT: I've checked WorkflowScheme table in the database and the scheme is saved correctly without the global codeactions. So I assume it is at the load/render where duplication happens.

EDIT 2: Fixed by deleting codeactions from WorkflowGlobalParameter table, looks like deleting global codeaction try to delete the action from the scheme insted of global parameters table.

Version : 1.5.5.2