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

Recurring Ticket with Calendar gets created on close times #18703

Open
2 tasks done
SimonTheIman opened this issue Jan 10, 2025 · 1 comment
Open
2 tasks done

Recurring Ticket with Calendar gets created on close times #18703

SimonTheIman opened this issue Jan 10, 2025 · 1 comment
Assignees

Comments

@SimonTheIman
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

10.0.16

Bug description

A recurring Ticket with a calendar configured gets created on days which the calendar has close times.

Calendar config:
Notice "close time" for the 09. January 2025
Image

Recurring ticket config:
Image

Informations tab:
States that next creation will be on the "close time" day and ticket will also be created.
Image

Additionally, it does not matter if the automatic action is triggered by the cron job or manually in glpi.

Relevant log output

Page URL

No response

Steps To reproduce

  1. Create Calendar
  2. Add close time to calendar
  3. Create recurring Ticket with Calendar
  4. Run automatic action on the "close time" day via cron or manually in glpi
  5. Ticket gets created > Expected behaviour is that no ticket will be created on close times, only on "workdays".

Your GLPI setup information

No response

Anything else?

No response

@cconard96 cconard96 added the bug label Jan 10, 2025
@trasher trasher removed the bug label Jan 10, 2025
@cconard96 cconard96 self-assigned this Jan 18, 2025
@cconard96
Copy link
Contributor

I originally thought this was a bug, but now it seems intentional. If the periodicity is at least 1 day, the calculation works in days and ignores closing times; it will only check working days.

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

No branches or pull requests

3 participants