discourse/plugins/discourse-calendar/jobs
Régis Hanol fb910ca078
FIX: skip topic bump when date is in the past (#36784)
The BumpTopic job was raising Discourse::InvalidParameters when the
scheduled bump date had already passed by the time Sidekiq executed the
job. This happened because set_or_create_timer validates that timestamps
must be in the future.

Now the job checks if the date is still in the future before attempting
to create the timer. If the bump time has passed, there's nothing to do
anyway.

Also handles malformed date strings gracefully by rescuing ArgumentError
from Time.parse.
2025-12-18 21:29:06 +01:00
..
regular/discourse_post_event FIX: skip topic bump when date is in the past (#36784) 2025-12-18 21:29:06 +01:00
scheduled FIX: Job exception: Holidays::InvalidRegion (#35473) 2025-10-17 17:53:53 +02:00