You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-05-20 23:41:57

Loiseau2nuit
Member
Registered: 2021-08-29
Posts: 43

Recurrent reservations won't work

Hello there,

No luck in the french support section with this, so i'm hoping someone will be able to help here :

I'm desperately trying to deal with equipment recurrent reservations, for our colleagues working remotely at least one day per week.

New test made today with no succes :

Reserve an item
- item "computer - XXXXX"
- by : John Doe
- start date : 05/24/2023 (wednesday)
- Duration :  1 day
- Repetition : weekly
- end date : 07/15/2023 (no remote work during summer vacations)
- Per day : wednesday

I click 'Add', the first reservation will be created accordingly, but the following occurences won't, and for each, the same error message displays : "Error while selecting dates. Start date is more recent than end date" which, at this point ... well, i'm not even sure what to think, considering every dates I entered are actually in the FUTURE ... so "recent"...  ???


What am I missing there ?
Thanks in advance for your help


GLPI 10.0.10-git - Glpi-agent 1.5 / Debian 12.2 / Nginx 1.22.1 - php 8.2.11 - mariaDB 10.11.4

Offline

#2 2023-05-22 00:50:44

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,433
Website

Re: Recurrent reservations won't work

I confirm the bug. It looks like the recurrent event dates are calculated to have the same start and end time (midnight) when your initial event is for the full day. If you set a different duration, it seems to work correctly.

I don't know the planning/reservation code very well. Could you report this bug on GitHub so we can track it?
https://github.com/glpi-project/glpi/is … report.yml


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-07-10 16:20:34

Loiseau2nuit
Member
Registered: 2021-08-29
Posts: 43

Re: Recurrent reservations won't work

A few trains later ... ^^

=> *ttps://github.com/glpi-project/glpi/issues/15182


GLPI 10.0.10-git - Glpi-agent 1.5 / Debian 12.2 / Nginx 1.22.1 - php 8.2.11 - mariaDB 10.11.4

Offline

Board footer

Powered by FluxBB