Problem with DefaultCustomFieldValue

Corrected and again tried in every possible combination, but I can’t make that work.

Thanks again.

Juan Ramón Alfageme Mata
+34 91 787 23 00 alhambra-eidos.comDe: Andy Harrison [mailto:aharrison@gmail.com]
Enviado el: jueves, 03 de marzo de 2005 15:08
Para: Juan Ramón Alfageme Mata
CC: rt-devel@lists.bestpractical.com
Asunto: Re: [Rt-devel] Problem with DefaultCustomFieldValue

my( $st, $msg ) = $self->TicketObj->SetContent( Field => CustomFieldObj->id , Value => $DefaultValue );

You’re missing a ‘$’ on CustomFieldObj->id
Andy Harrison

Corrected and again tried in every possible combination, but I can’t make that work.

Thanks again.

Hrm… what do you see in the rt log output?

Andy Harrison

In the browser screen there aren’t any errors.

In RT log, when I try to create a new Ticket I get the following log:

Mar  4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is deprecated in RT 3.4 and will be removed in 3.6.
Mar  4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is deprecated in RT 3.4 and will be removed in 3.6.
Mar  4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is deprecated in RT 3.4 and will be removed in 3.6.
Mar  4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is deprecated in RT 3.4 and will be removed in 3.6.

Juan Ramón Alfageme Mata
+34 91 787 23 00 alhambra-eidos.comDe: Andy Harrison [mailto:aharrison@gmail.com]
Enviado el: jueves, 03 de marzo de 2005 20:27
Para: Juan Ramón Alfageme Mata
CC: rt-devel@lists.bestpractical.com
Asunto: Re: [Rt-devel] Problem with DefaultCustomFieldValue

Corrected and again tried in every possible combination, but I can’t make that work.

Thanks again.

Hrm… what do you see in the rt log output?

Andy Harrison

In the browser screen there aren’t any errors.

In RT log, when I try to create a new Ticket I get the following log:

Mar 4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is
deprecated in RT 3.4 and will be removed in 3.6.
Mar 4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is
deprecated in RT 3.4 and will be removed in 3.6.
Mar 4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is
deprecated in RT 3.4 and will be removed in 3.6.
Mar 4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is
deprecated in RT 3.4 and will be removed in 3.6.

Bummer. That was going to be my next suggestion to make a custom
version of that file…

Andy Harrison

Solved, I tried again with first scrip and now it works correctly, probably I missed something creating script for the first times.

Thank for your help, it was really usefull :slight_smile:

Juan Ramón Alfageme Mata
+34 91 787 23 00 alhambra-eidos.comDe: Andy Harrison [mailto:aharrison@gmail.com]
Enviado el: viernes, 04 de marzo de 2005 22:30
Para: Juan Ramón Alfageme Mata
CC: rt-devel@lists.bestpractical.com
Asunto: Re: Problem with DefaultCustomFieldValue

In the browser screen there aren’t any errors.

In RT log, when I try to create a new Ticket I get the following log:

Mar 4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is
deprecated in RT 3.4 and will be removed in 3.6.
Mar 4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is
deprecated in RT 3.4 and will be removed in 3.6.
Mar 4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is
deprecated in RT 3.4 and will be removed in 3.6.
Mar 4 08:46:47 alhmngsrv2 RT: Ticket/Elements/EditCustomField is
deprecated in RT 3.4 and will be removed in 3.6.

Bummer. That was going to be my next suggestion to make a custom
version of that file…

Andy Harrison