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

task_history.action is incorrectly updated to 'RELEASED_FOR_MAPPING' when a task is locked #1605

Closed
spwoodcock opened this issue Jun 27, 2024 · 4 comments
Assignees
Labels
bug Something isn't working testing:ready Ready for testing

Comments

@spwoodcock
Copy link
Member

Describe the bug

  • When a task is locked via the frontend, the database value in task_history.action is updated to RELEASED_FOR_MAPPING.
  • This is either a frontend or backend issue, incorrect use of an enum value. I think a value of 0 is used when we probably need to pass 1 to lock the task.

To Reproduce

  • Lock a task
  • Check the db

Expected behavior

The task_history action value is updated to LOCKED_FOR_MAPPING.

Screenshots

image

As you can see in the screenshot, the action_text is correct, but the action value is wrong.

@manjitapandey
Copy link
Contributor

I am still having this issue of not being able to mark task as more mapping needed during task validation. Are we on same issue or i understood the issue differently.
unable to update task error message is shown with 500 error on network panel. View image
image

@manjitapandey manjitapandey added testing:fail Failed testing and removed testing:ready Ready for testing labels Jul 2, 2024
@spwoodcock
Copy link
Member Author

Let us know if PR 1618 fixed this @manjitapandey 👍

@NSUWAL123 NSUWAL123 added testing:ready Ready for testing and removed testing:fail Failed testing labels Jul 5, 2024
@manjitapandey
Copy link
Contributor

I am restricted to test this issue because of #1657

@manjitapandey
Copy link
Contributor

image

Encountered an issue while the task is validated. The pop-up still shows locked for validation. The state of pop-up is not updated.

cc: @spwoodcock , @NSUWAL123

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

No branches or pull requests

3 participants