[Rt-devel] RE: Rt-devel Digest, Vol 27, Issue 20

Philip Kime pkime at Shopzilla.com
Wed Jun 21 13:30:13 EDT 2006


How does the cascading thing work? Is this using the Link feature in the
CF configuration page or is there a way of specifying sub-CFs of a CF?

PK 

-----Original Message-----
From: rt-devel-bounces at lists.bestpractical.com
[mailto:rt-devel-bounces at lists.bestpractical.com] On Behalf Of
rt-devel-request at lists.bestpractical.com
Sent: 21 June 2006 09:00
To: rt-devel at lists.bestpractical.com
Subject: Rt-devel Digest, Vol 27, Issue 20

Send Rt-devel mailing list submissions to
	rt-devel at lists.bestpractical.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
or, via email, send a message with subject or body 'help' to
	rt-devel-request at lists.bestpractical.com

You can reach the person managing the list at
	rt-devel-owner at lists.bestpractical.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Rt-devel digest..."


Today's Topics:

   1. Re: Errors with cascading select fields in RT 3.6.0
      (Timothy Smith)


----------------------------------------------------------------------

Message: 1
Date: Wed, 21 Jun 2006 09:08:55 -0400
From: "Timothy Smith" <tsmith at loc.gov>
Subject: Re: [Rt-devel] Errors with cascading select fields in RT
	3.6.0
To: <rt-devel at lists.bestpractical.com>
Cc: rt-users at lists.bestpractical.com
Message-ID: <s4990cc4.017 at loc.gov>
Content-Type: text/plain; charset="us-ascii"

I've attached a two-line patch against the 3.6.0 release of
lib/RT/Interface/Web.pm that addresses the cascading custom field issues
described below.

Tim Smith
Office of Compliance

>>> "Timothy Smith" <tsmith at loc.gov> 06/19/06 3:08 PM >>>
Hello all. I've upgraded from RT 3.4.5 to 3.6.0 (clean install directory
but the same database; custom patches applied) and I'm having some
issues with the cascading select custom fields.

Assume a category "foo" has values "bar" and "baz" in it.

Ticket creation:
If I specify category foo and then select either bar or baz, RT gets
confused and displays "foo" as the value of the field in Display.html.
This does not happen in a different custom field in a different queue.
Are things being processed out of order somewhere? I think CreateTicket
in Interface/Web.pm might be getting confused by the -Category field; it
doesn't check for the string Value in the name of the field.

Ticket updating (cosmetic):
RT always throws the error:
>> User asked for an unknown update type for custom field Testfield for 
>> RT::Ticket object
when I submit Ticket/Modify.html for a ticket with a cascading selector.
It's coming from ProcessObjectCustomFieldUpdates in Interface/Web.pm; it
looks like it's just missing an elsif to handle the -Category form
field.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cascades.diff
Type: application/octet-stream
Size: 924 bytes
Desc: not available
Url :
http://lists.bestpractical.com/pipermail/rt-devel/attachments/20060621/9
c6319fb/cascades-0001.obj

------------------------------

_______________________________________________
Rt-devel mailing list
Rt-devel at lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


End of Rt-devel Digest, Vol 27, Issue 20
****************************************


More information about the Rt-devel mailing list