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

UserTask due date is incorrectly calculated when duration is defined in business days using calendar #790

Closed
gorbunkov opened this issue Jun 23, 2022 · 2 comments
Assignees
Labels
in: bpm size: S type: bug Something isn't working
Projects
Milestone

Comments

@gorbunkov
Copy link
Contributor

gorbunkov commented Jun 23, 2022

Jmix version: 1.2.3

When user task duration is defined in days, e.g. P1D and business calendar is selected for date evaluation then the due date is actually calculated not by adding one business day to the current time, but by adding 24 business hours to the current time (it's about 3 business days depending on the schedule)

image

@gorbunkov gorbunkov added type: bug Something isn't working in: bpm labels Jun 23, 2022
@gorbunkov gorbunkov added this to Backlog in Release 1.3 via automation Jun 23, 2022
@gorbunkov gorbunkov moved this from Backlog to Next in Release 1.3 Jul 4, 2022
@gorbunkov gorbunkov self-assigned this Jul 4, 2022
@gorbunkov
Copy link
Contributor Author

When business calendar is selected for the UserTask and due date interval is defined in days (e.g. P2D), then such process should not be deployed.

@gorbunkov gorbunkov moved this from Next to QA in Release 1.3 Jul 6, 2022
@konyashkina
Copy link

Tested on Jmix version: 1.3.999-SNAPSHOT

Release 1.3 automation moved this from QA to Done Jul 12, 2022
@knstvk knstvk added this to the 1.3.1 milestone Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: bpm size: S type: bug Something isn't working
Projects
Release 1.3
  
Done
Development

No branches or pull requests

3 participants