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

Read Task after Update Task from a ReviewRequired SPI gives stale data #2634

Closed
CRoberto1926 opened this issue Aug 6, 2024 · 0 comments
Closed
Milestone

Comments

@CRoberto1926
Copy link
Contributor

Steps to reproduce the problem:

  • Implement the SPI ReviewRequiredProvider in the module taskana-rest-spring-example-boot
  • Put a break point in the reviewRequired method to stop the execution
  • Start 2 instances of taskana-rest-spring-example-boot using PostgreSQL
  • Open the GUI, select a task to complete it: the break point should kick in
  • While the execution of one instance is paused, call the update task endpoint on the other instance (e.g. PUT http://localhost:8081/taskana/api/v1/tasks/:taskId) and change a custom field
  • Using another break point, check the output of getTask() in TaskServiceImpl.requestReview: the changes in the custom field from the update in the previous point should not be there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

No branches or pull requests

2 participants