Skip Menu |

This queue is for tickets about the RT-Extension-ConditionalCustomFields CPAN distribution.

Report information
The Basics
Id: 123566
Status: resolved
Priority: 0/
Queue: RT-Extension-ConditionalCustomFields

People
Owner: GIBUS [...] cpan.org
Requestors: o.m.svanekil [...] usit.uio.no
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.01
  • 0.02
  • 0.03
  • 0.04
  • 0.05
Fixed in: 0.06



Subject: Patch not working for RT 4.4.2
Date: Wed, 8 Nov 2017 14:46:15 +0000
To: "bug-RT-Extension-ConditionalCustomFields [...] rt.cpan.org" <bug-RT-Extension-ConditionalCustomFields [...] rt.cpan.org>
From: Ole Martin Svanekil <o.m.svanekil [...] usit.uio.no>
Hi ! The part of the patch that adds a callback to Admin/Groups/Modify.html seems not to work on RT 4.4.2 I can see that the line where the patch applies is changed from RT 4.4.1 to 4.4.2. This is the part of the patch not working: --- share/html/Admin/Groups/Modify.html +++ share/html/Admin/Groups/Modify.html @@ -76,7 +76,9 @@ </td><td> <& /Elements/EditCustomField, CustomField => $CF, Object => $Group, &> -</td></tr> +</td> +% $m->callback( CallbackName => 'AfterCustomFieldValue', CustomField => $CF, Object => $Group); +</tr> % } <tr> <td colspan="2"> Best Regards Ole Martin Svanekil
Thanks for reporting this. Indeed with RT 4.4.2 there is no need to patch /Admin/Groups/Modify.html anymore (callback is already in /Elements/EditCustomFieldCustomGroupings). I've renamed the old patch to 4.4.1-add-callbacks-to-extend-customfields-capabilities.patch and added patch 4.4.2-add-callbacks-to-extend-customfields-capabilities.patch and publish 0.06 revision of this plugin: https://metacpan.org/pod/release/GIBUS/RT-Extension-ConditionalCustomFields-0.06/lib/RT/Extension/ConditionalCustomFields.pm