[#1044] How to avoid External validation on reschedule?

Migrated from Redmine #1044 | Author: Matteo Frigerio
Status: New | Priority: High, I’m very impatient | Created: 2023-04-04


I added an external validator as per custom feature, but it’s also called every time the client tries to reschedule, and I require it to be executed for new bookings only; how can I manage that? Thank you!

Redmine Admin wrote:

you can keep track of booking ids and check if this id already exists, then your validator may always return true for existing ids

Matteo Frigerio wrote:

Thanks for the fast reply, I’ll look in to that and let you know if I’m able to solve the problem this way.

Matteo Frigerio wrote:

Seemed to work, thank you