Hi,
I want to disable a system event handler (specifically Kernel::System::CustomerUser::Event::TicketUpdate, because if a customer user moves from CompanyA to CompanyB, his tickets must remain assigned to CompanyA, not follow him to CompanyB) .
But I don't find any specific switch for it and seems to me that disabling the module form the SysConfig has no effect.
Giving a first glance to the code, I don't see a check for IsValid before running the event handler.
Any clue?
How to disable event handlers?
Moderator: crythias
-
- Znuny wizard
- Posts: 380
- Joined: 20 Sep 2010, 16:54
- Znuny Version: OTRS 6 CE
- Real Name: Alexey Yusov
- Company: Radiant System Group s.r.o
- Location: Prague
- Contact:
Re: How to disable event handlers?
Hi,
Try to disable this CustomerUser::EventModulePost###2300-UpdateTickets in SysConfig
Try to disable this CustomerUser::EventModulePost###2300-UpdateTickets in SysConfig
Alexey Yusov
Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal
Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal
Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
-
- Znuny newbie
- Posts: 2
- Joined: 23 Nov 2023, 16:41
- Znuny Version: 6.4.5
- Real Name: Marco Ferrante
Re: How to disable event handlers?
It works,
thank you.
thank you.