2.1.39: frontpage search link failure

Another problem with 2.1.39:

when in the homepage, you click the queue name,
it should display the new and open tickets, but it
doesn’t. Instead, in the search criteria you see
Status = ARRAY(0x87ff354)

Let me know if it’s known, before I dig too deep.

Cheers,
Stan

Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

I found where the problem comes from, but don’t yet know
how to solve it.

If I change the line 581 in lib/RT/Interface/Web.pm this way:
if ( 1 or ref( $args{ARGS}->{‘ValueOfStatus’} ) ) {

then the URL

https://myhost/rt3/Search/Listing.html?ValueOfStatus=open&ValueOfStatus=new&StatusOp=%3D&QueueOp=%3D&ValueOfQueue=1&RowsPerPage=50&NewSearch=1

gives no status limitations at all. It means that
$args{ARGS}->{‘ValueOfStatus’} is not a reference, but
the text string “ARRAY(0x87ff354)”

I don’t yet know how that could be, but it’s working this way here.
It’s perl 5.6.1 with most modules installed today.

The value of $args{ARGS} comes from somewhere deep in Mason,
maybe someone familiar could give a clue.

Cheers,
Stan— Stanislav Sinyagin ssinyagin@yahoo.com wrote:

Another problem with 2.1.39:

when in the homepage, you click the queue name,
it should display the new and open tickets, but it
doesn’t. Instead, in the search criteria you see
Status = ARRAY(0x87ff354)

Let me know if it’s known, before I dig too deep.

Cheers,
Stan


Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

Jesse, I localized the problem, but at this point
I need your help: I can’t figure out how ARGS% is generated
in html/Search/Listing.html.

The URL is generated by html/Elements/Quicksearch, and it’s
the only place where the URL has two occurrences of ValueOfStatus
parameter.

In the $args{ARGS} hash that is passed to ProcessSearchQuery
(lib/RT/Interface/Web.pm), the value of $args{ARGS}->{‘ValueOfStatus’}
contains the incorrect array reference: it has a form of “ARRAY(0x87ff354)”,
but ref($args{ARGS}->{‘ValueOfStatus’}) returns false.

I’m a newbie to Mason internals, and have no idea where that hash
was generated.

Thanks,
Stan> — Stanislav Sinyagin ssinyagin@yahoo.com wrote:

Another problem with 2.1.39:

when in the homepage, you click the queue name,
it should display the new and open tickets, but it
doesn’t. Instead, in the search criteria you see
Status = ARRAY(0x87ff354)

Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com