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

Problem with recurring calls (duplicating, multiplying several of the same) 9.5.6 latest version. #9913

Open
2 tasks done
bmarquinhoss opened this issue Nov 22, 2021 · 17 comments

Comments

@bmarquinhoss
Copy link

bmarquinhoss commented Nov 22, 2021

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

9.5.6

Bug description

Hello friends,
I detected a bug in version 9.5.6 , it is infinitely multiplying the recurring calls.
ex: if I have a recurring call to be opened at 10 am, it creates infinitely several calls of the same.

anyone with this problem? already have correction?

I noticed that even creating the call, it makes a new schedule and when it runs, it makes a new schedule, with a difference of a few minutes.

Relevant log output

No response

Page URL

No response

Steps To reproduce

1 - create a ticket template
2- make the same call a recurrence, add a start and end date and a time to open the recurring call.
3- Note that after he creates the ticket, he will schedule a new creation in a few minutes and this is repeated (polluting the dashboard of the tickets)

Your GLPI setup information

versão 9.5.6

Anything else?

No response

@trasher
Copy link
Contributor

trasher commented Nov 22, 2021

Please write in english only.

@bmarquinhoss
Copy link
Author

Hello friends,
I detected a bug in version 9.5.6 , it is infinitely multiplying the recurring calls.
ex: if I have a recurring call to be opened at 10 am, it creates infinitely several calls of the same.

anyone with this problem? already have correction?

I noticed that even creating the call, it makes a new schedule and when it runs, it makes a new schedule, with a difference of a few minutes.

@cedric-anne
Copy link
Member

Hi,

Could you ensure that timezone defined in PHP settings is the same as the one defined on MySQL server ?

Regards

@bmarquinhoss
Copy link
Author

I made one

"select now();"

I found a divergence of 3 hours.

I made direct adjustment via sql and solved only the momentary schedule.

I restarted the server and the divergence returned.

so I adjusted the timezone directly in the my.cnf file and now the times are the same.

now the mysql time is the same as the system.

the problem was this? the database with a different system time?

I will observe, hopefully resolve!

thank you, I'll be back to give feedback if it was resolved.

@bmarquinhoss
Copy link
Author

I made the change as we speak, and until today it has not doubled, has not multiplied more.

so far resolved! I appreciate the tip!

Thank you very much

@cedric-anne
Copy link
Member

Hi,

Problem is that the code is using both PHP current time and MySQL current time. It has to be refactored, but it is currently not in our priorities.

Regards

@bmarquinhoss
Copy link
Author

everything worked out after the requested adjustment.

thank you!

@RheOliveira
Copy link

Hello friends

im with the same problem on GLPI 9.5.5

i has created a recurrent ticket and this was duplicated exactly 1 hour after the first ticket has created

i configure the local time zone on MySQL in command line database, I set time zone on CentOs directly and do double check on php.ini

everywhere is correct configuration local time Zone is america/Sao Paulo -3

image

image

@RheOliveira
Copy link

anyone know any action more to do ?

@bmarquinhoss
Copy link
Author

caso ainda não resolveu, chama ai no telegram @bmarquinhoss,
posso te ajudar , tive o mesmo problema.

@trasher
Copy link
Contributor

trasher commented Jan 25, 2022

@bmarquinhoss english only please.

@trasher
Copy link
Contributor

trasher commented Jan 25, 2022

Please also translate ticket title to english...

@bmarquinhoss
Copy link
Author

sorry, now in english...
if you still haven't solved it, call on telegram @bmarquinhoss,
I can help you, I had the same problem.

@cconard96 cconard96 changed the title Problema com chamados recorrentes ( duplicando, multiplicando varios do mesmo) 9.5.6 ultima versão. Problem with recurring calls (duplicating, multiplying several of the same) 9.5.6 latest version. Apr 18, 2022
@cedric-anne cedric-anne self-assigned this Dec 14, 2022
@cedric-anne cedric-anne added this to the 10.1.0 milestone Dec 14, 2022
@cedric-anne cedric-anne removed their assignment Feb 10, 2023
@grego1981
Copy link

Same for me in 10.0.5 version.. Is there even a fix to apply? I have set timezone in system, mariadb and GLPi and still occurs...

@cedric-anne
Copy link
Member

A new field must be added to store the last date a ticket was created. Then the computation of next creation date should use this last date as a reference.

@hdep
Copy link

hdep commented Aug 26, 2024

Hello,

it seems that we have the same issue with glpi 10.0.16.
However our database uses the SYSTEM, PHP uses the right timezone, so I'm not 100% sure on how to identify if we face this bug but we started to have duplicate reccurent ticket creation.

@Ludo-code
Copy link

Ludo-code commented Oct 8, 2024

Hello,

I have a similar problem but i have same timezone in database than linux system than php:

sql querry php my admin
image
vps screen time
image
vps screen php time conf
image

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

No branches or pull requests

7 participants