[Rt-commit] r10164 - in rt/branches/3.999-DANGEROUS: t/web

jesse at bestpractical.com jesse at bestpractical.com
Fri Dec 28 00:11:19 EST 2007


Author: jesse
Date: Fri Dec 28 00:11:15 2007
New Revision: 10164

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/t/web/query_builder.t

Log:
 r74261 at pinglin:  jesse | 2007-12-28 00:07:46 -0500
 closer


Modified: rt/branches/3.999-DANGEROUS/t/web/query_builder.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/web/query_builder.t	(original)
+++ rt/branches/3.999-DANGEROUS/t/web/query_builder.t	Fri Dec 28 00:11:15 2007
@@ -198,6 +198,9 @@
 # }}}
 
 # create a custom field with nonascii name and try to add a condition
+
+TODO: {
+   local $TODO = "4.0 custom fields with non-ascii names currently explode. note sure why.";
 {
     my $cf = RT::Model::CustomField->new(current_user => RT->system_user );
     $cf->load_by_name( name => "\x{442}", Queue => 0 );
@@ -211,20 +214,21 @@
         );
         ok($return, 'Created CF') or diag "error: $msg";
     }
-
     my $response = $agent->get($url."Search/Build.html?NewQuery=1");
     ok( $response->is_success, "Fetched " . $url."Search/Build.html" );
 
     ok($agent->form_name('BuildQuery'), "found the form once");
-    $agent->field("ValueOf'CF.{\321\202}'", "\321\201");
+    print ($agent->content());
+    #$agent->field("ValueOf'CF.{\321\202}'", "\321\201");
     $agent->submit();
     is( getQueryFromForm,
         "'CF.{\321\202}' LIKE '\321\201'",
         "no changes, no duplicate condition with badly encoded text"
     );
-
 }
 
+};
+
 diag "input a condition, select (several conditions), click delete"
     if $ENV{'TEST_VERBOSE'};
 {


More information about the Rt-commit mailing list