General UI Undefined Catalog - was [ic] Error while editing subset of variable entries

Barry Treahy, Jr. interchange-users@interchange.redhat.com
Wed May 22 15:42:00 2002


Barry Treahy, Jr. wrote:

> Hi Folks,
>
> I'm getting no where trying to diagnose why that since 4.8.5 many of 
> the admin UI functions bust with a returned 'Undefined Catalog:' error.
>
> Below is a past of what I see on the screen, what is captured in 
> error.log and the TCP traffic from Ethereal...
>
> Netscape 6.2.2 Browser window:
>
> Undefined catalog: 
> mv_data_table=area&ui_meta_specific=&ui_page_title=&ui_page_title=&ui_meta_specific=&ui_limit_fields=&ui_show_fields=code%0D%0Aname%0D%0Awhich_page%0D%0Aurl%0D%0Asearch%0D%0Apage%0D%0Aselector&ui_return_to=admin%2Fflex_select&ui_return_to=mv_data_table%3Darea&ui_return_to=ui_sequence_edit%3D1&mv_action=back&item_id=10&item_id=20&mv_click=Edit 
>
>
>
> IC Error log:
>
> - - - [22/May/2002:11:42:29 -0700] - 
> mv_data_table=area&ui_meta_specific=&ui_pag
> e_title=&ui_page_title=&ui_meta_specific=&ui_limit_fields=&ui_show_fields=code%0 
>
> D%0Aname%0D%0Awhich_page%0D%0Aurl%0D%0Asearch%0D%0Apage%0D%0Aselector&ui_return_ 
>
> to=admin%2Fflex_select&ui_return_to=mv_data_table%3Darea&ui_return_to=ui_sequenc 
>
> e_edit%3D1&mv_action=back&item_id=10&item_id=20&mv_click=Edit Runtime 
> error: Und
> efined catalog: 
> mv_data_table=area&ui_meta_specific=&ui_page_title=&ui_page_titl
> e=&ui_meta_specific=&ui_limit_fields=&ui_show_fields=code%0D%0Aname%0D%0Awhich_p 
>
> age%0D%0Aurl%0D%0Asearch%0D%0Apage%0D%0Aselector&ui_return_to=admin%2Fflex_selec 
>
> t&ui_return_to=mv_data_table%3Darea&ui_return_to=ui_sequence_edit%3D1&mv_action= 
>
> back&item_id=10&item_id=20&mv_click=Edit at 
> /ibin/interchange/lib/Vend/Server.pm
> line 182.
>
> Ethereal dump"
> GET 
> /cgi-bin/mmb2c/admin/flex_select.html?mv_data_table=area&ui_meta_specific=&ui_page_title=&ui_page_title=&ui_meta_specific=&ui_limit_fields=&ui_show_fields=code%0D%0Aname%0D%0Awhich_page%0D%0Aurl%0D%0Asearch%0D%0Apage%0D%0Aselector&ui_return_to=admin%2Fflex_select&ui_return_to=mv_data_table%3Darea&ui_return_to=ui_sequence_edit%3D1&mv_action=back&item_id=10&item_id=20&mv_click=Edit+checked+records+in+sequence 
> HTTP/1.1
> Host: xxx.yyyy.com
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 
> rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2
> Accept: text/xml, application/xml, application/xhtml+xml, 
> text/html;q=0.9, image/png, image/jpeg, image/gif;q=0.2, 
> text/plain;q=0.8, text/css, */*;q=0.1
> Accept-Language: en, pdf;q=0.50
> Accept-Encoding: gzip, deflate, compress;q=0.9
> Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
> Keep-Alive: 300
> Connection: keep-alive
> Cookie: MV_SESSION_ID=wAcS7HSE:yyyy.com; RoxenUserID=0xe
> Referer: 
> http://xxx.yyyy.com/cgi-bin/mmb2c/admin/flex_select?mv_session_id=wAcS7HSE&mv_pc=495&mv_data_table=area 
>
>
> HTTP/1.0 404
> Content-Type: text/plain
> Content-Length: 363
> Server: Roxen Challenger/1.3.122
>
> Undefined catalog: 
> mv_data_table=area&ui_meta_specific=&ui_page_title=&ui_page_title=&ui_meta_specific=&ui_limit_fields=&ui_show_fields=code%0D%0Aname%0D%0Awhich_page%0D%0Aurl%0D%0Asearch%0D%0Apage%0D%0Aselector&ui_return_to=admin%2Fflex_select&ui_return_to=mv_data_table%3Darea&ui_return_to=ui_sequence_edit%3D1&mv_action=back&item_id=10&item_id=20&mv_click=Edit 
>
>
> I have examined the Server.pm at 182 and the error in a result of the 
> state:
>            my $g = $Global::Selector{$CGI::script_name}
> failing.  The 'WHY' and the 'FIX' I cannot isolate because from the 
> HTTP traffic, I see nothing wrong but looking at the Server.pm code, 
> the error message should have a catalog name following the colon and 
> it does not which would imply a problem with the CGI module, no?

Ok, this is what I found and I cannot see how this could not be an IC 
bug nor how it would not impact others.

If you look at the end of the GET stream, the

&mv_click=Edit+checked+records+in+sequence

is delimited with '+' plus symbols which are being parted into 
individual entity arguments on my server.  If I replace the + with the 
encoded space %20, the GET works and the page displayes properly.  It 
appears after creating a modified tlink to dump entity information that 
the plus symbols are parsing into individual entity items...

Mike, Jon, anyone?

Barry

-- 

Barry Treahy, Jr  *  Midwest Microwave  *  Vice President & CIO 

E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028