PB in GenericAgent (Schedule array not displayed)

Moderator: crythias

Post Reply
Francois
Znuny newbie
Posts: 7
Joined: 07 Jun 2010, 11:40
Znuny Version: 2.4.7

PB in GenericAgent (Schedule array not displayed)

Post by Francois »

Hi guys,

I tried to configure my first automated job in the GenericAgent. I was able to create one (automatically closing tickets with a particular state) an run it manually with success. But then I realized I did not specified the schedule so there was no way this job would run on its own.

When I looked back in the configuration I could see the Schedule section was not correct. I could see mention of minutes/hours/days, but there was no list to pick them from. I only saw a message " ARRAY(0x95f9a38) ". I assume it means the web interface could not load the array containing minutes/hours/days values.

Anyone able to help on that matter? Thank in advance,

Francois
= = = = = = = = = = = = = = = = = =
OTRS version : 2.4.7
Operating System : Debian GNU/Linux 5.0
Database type : MySQL
Francois
Znuny newbie
Posts: 7
Joined: 07 Jun 2010, 11:40
Znuny Version: 2.4.7

Re: PB in GenericAgent (Schedule array not displayed)

Post by Francois »

Hi again,

Never mind, I figured it out. The script calling the AdminGenericAgent form used old field names for hours/minutes/day:
$Data{"ScheduleMinutes"} instead of $Data{"ScheduleMinutesList"}
$Data{"ScheduleHours"} instead of $Data{"ScheduleHoursList"}
$Data{"ScheduleDays"} instead of $Data{"ScheduleDaysList"}

As I upgraded OTRS version and imported a previous configuration, I assume lists' names were changed from the old version to the new one.
I corrected and evrything is fine now.

Glad I could help myself :) Maybe someone will find this piece of information usefull sometimes.

Francois
= = = = = = = = = = = = = = = = = =
OTRS version : 2.4.7
Operating System : Debian GNU/Linux 5.0
Database type : MySQL
Post Reply