Rt208 "Show Details": abusing Create.html helped]]

I’m not sure if this came to the list, unless my address was in BCC.

A.-------- Original Message --------
Subject: Re: [Fwd: Re: [rt-users] rt208 “Show Details”: abusing
Create.html helped]
Date: Fri, 5 Oct 2001 10:22:35 +0100
From: Feargal Reilly feargal@thecia.ie
Organization: The CIA
To: alesh@sportina.si
References: 3BBD59F5.4000802@sportina.si

Alesh Mustar wrote:

AM> The problem still remaining is the problem around keyword saving:
AM> - when creating a new ticket, I set lets say priority 50 and select a
AM> keyword.
AM>
AM> The priority is saved, the keyword ain’t.
AM>
AM> Bug?
AM>
AM> Can anyone else confirm this?

I can, and I think I can guess what it’s doing wrong too.
I get the same thing, select a keyword, keyword isn’t saved.
However, if I configure my keywords as ‘Multiple children of’
and select two keywords, they are saved.
It fails only when there’s a single keyword selected.

So there’s probably a bad loop where RT is trying to build the list of keywords to add. Maybe Display.html line 84?

# we need to get any KeywordSelect- fields into %create_args..
grep { $_ =~ /^KeywordSelect-/ && {$create_args{$_} = $ARGS{$_}}} %ARGS;

-Feargal.

Feargal Reilly,
Systems Administrator,
The CIA.