Minor Custom Field bug in RTIR 2.6 build

Hello,

I was testing some of the RTIR_CustomFieldsDefaults->{‘How Reported’}
functionality, and noticed that it didn’t work at all (not even as
specified).

  1. It didn’t even set to the default in RTIR_SetHowReported.pm
  2. It didn’t use RTIR_CustomFieldsDefaults->{‘How Reported’}
  3. Minor inconsistencies with lib/RT/IR/AdministrationTutorial.pod

I’m using RTIR-2.6 (not the rc), and no upgrades done (plain
2.6 install).

I’ve attached a diff that

  1. reenables the RTIR_SetHowReported.pm functionality per the new CF names
  2. enables usage of RTIR_CustomFieldsDefaults->{‘How Reported’} (and not just an “Email” static value).
  3. sets the “Email” value in RTIR_Config.pm, so the default is kept as it was
  4. addresses some of the minor inconsistencies in AdministrationTutorial.pod

Kind regards
Michal Wodzinski, DK-CERT (UNI-C)
3587 8817 / 2483 2451
PGP Key ID: 0x67AF700C (hkp://pgp.mit.edu)

rtir-2.6.diff (2.21 KB)

I was testing some of the RTIR_CustomFieldsDefaults->{‘How Reported’}
functionality, and noticed that it didn’t work at all (not even as
specified).

And i’ve sent it off to the bugs list as well :slight_smile:

Sorry for the inconvenience.

Kind regards
Michal Wodzinski, DK-CERT (UNI-C)
3587 8817 / 2483 2451
PGP Key ID: 0x67AF700C (hkp://pgp.mit.edu)

Thank you for the report and patch. I’ll look into as soon as I get to
coding on rtir port over RT 4.0. Do you care enough to write a test
file?On Fri, Jan 7, 2011 at 3:55 PM, Michal Wodzinski michal.wodzinski@uni-c.dk wrote:

On Fri, 7 Jan 2011, Michal Wodzinski wrote:

I was testing some of the RTIR_CustomFieldsDefaults->{‘How Reported’}
functionality, and noticed that it didn’t work at all (not even as
specified).

And i’ve sent it off to the bugs list as well :slight_smile:

Sorry for the inconvenience.


Kind regards
Michal Wodzinski, DK-CERT (UNI-C)
3587 8817 / 2483 2451
PGP Key ID: 0x67AF700C (hkp://pgp.mit.edu)


Rtir mailing list
Rtir@lists.bestpractical.com
The rtir Archives

Best regards, Ruslan.