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

drag&drop in calendar not possible #2

Closed
timopitt opened this issue Nov 1, 2022 · 3 comments
Closed

drag&drop in calendar not possible #2

timopitt opened this issue Nov 1, 2022 · 3 comments

Comments

@timopitt
Copy link

timopitt commented Nov 1, 2022

Drag&Drop is not possible in the calendar view because the duration has stored a negative value.
An attempt leads to an error message: Validation Failed This value should be greater than or equal to 0.

image

@kevinpapst
Copy link
Member

kevinpapst commented Nov 1, 2022

I cannot confirm that. Do you have the latest Kimai installed? There were changes in Kimai core necessary, to allow negative durations. Your validation looks like you ignored the README:

Bildschirmfoto 2022-11-01 um 15 12 37

😁

You can always test at the "Plugin Demo", see URL and accounts at https://www.kimai.org/demo/

@timopitt
Copy link
Author

timopitt commented Nov 2, 2022

You are right, I ignored the README. Maybe you should correct the required version in composer.json too.

image

@kevinpapst
Copy link
Member

Good catch 👍 thanks for spotting!

Technically this is compatible with Kimai 1.20, but Kimai core has some issues with negative durations up until 1.27.0.
So I guess it is better to raise this requirement to 1.27.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants