[Rt-commit] r18256 - in rt/3.999/branches/lorzy: . etc

clkao at bestpractical.com clkao at bestpractical.com
Thu Feb 5 09:35:02 EST 2009


Author: clkao
Date: Thu Feb  5 09:35:01 2009
New Revision: 18256

Modified:
   rt/3.999/branches/lorzy/   (props changed)
   rt/3.999/branches/lorzy/TODO
   rt/3.999/branches/lorzy/etc/config.yml
   rt/3.999/branches/lorzy/t/ticket/quicksearch.t

Log:
merge down from trunk

Modified: rt/3.999/branches/lorzy/TODO
==============================================================================
--- rt/3.999/branches/lorzy/TODO	(original)
+++ rt/3.999/branches/lorzy/TODO	Thu Feb  5 09:35:01 2009
@@ -12,38 +12,3 @@
 to the latter.
 
 
-things need to do or fix before releasing alpha.
-
-0.
-
-with current Jifty version, I got a very weird problem, in the top actions,
-current output is( I removed unrelative output ):
-
-<label accesskey="9">
-  <select name="queue" onchange="document.CreateTicketInQueue.submit()"
-class="select-queue">
-  <option value="1" > General </option>
-</select>
-<form action="/Ticket/Create.html" name="create_ticket_in_queue"
-id="CreateTicketInQueue">
-<input type="submit" class="button" value="New ticket in" />&nbsp;
-</label>
-
-<div id="topactions">
-<span class="topaction" id="topaction-a">
-</form>
-</span>
-</div>
-
-it seems the call $m->scomp('/Elements/CreateTicket') in Elements/Tabs makes
-some output instead of returning it, all the part above <div> should go into
-the "topaction-a" span element, and so on.
-I bet it's Jifty's problem but not 100% sure, Jifty gurus, SOS!
-
-1. 
-
-3.8.2 starts to use Test::Warn to test the warning output, but since we use
-Log::Log4perl in Jifty, seems Test::Warn can't capture the warning any more.
-( I dig a bit, they all play with $SIG{__WARN__}, which I think they collapse )
-
-suggestion please

Modified: rt/3.999/branches/lorzy/etc/config.yml
==============================================================================
--- rt/3.999/branches/lorzy/etc/config.yml	(original)
+++ rt/3.999/branches/lorzy/etc/config.yml	Thu Feb  5 09:35:01 2009
@@ -39,7 +39,8 @@
           - IE8
           - ie7-recalc
           - ie7-squish
-    - TestServerWarnings: {}
+    - TestServerWarnings:
+        clear_screen: 0
   PubSub: 
     Backend: Memcached
     Enable: ~

Modified: rt/3.999/branches/lorzy/t/ticket/quicksearch.t
==============================================================================
--- rt/3.999/branches/lorzy/t/ticket/quicksearch.t	(original)
+++ rt/3.999/branches/lorzy/t/ticket/quicksearch.t	Thu Feb  5 09:35:01 2009
@@ -25,7 +25,9 @@
 
 use_ok("RT::Search::Googleish");
 
-my $active_statuses = join( " OR ", map "Status = '$_'", RT::Model::Queue->status_schema->active());
+my $active_statuses = join( " OR ",
+    map "Status = '$_'",
+    RT::Model::Queue->status_schema->valid( 'initial', 'active' ) );
 
 my $tickets = RT::Model::TicketCollection->new(current_user => RT->system_user);
 my $quick = RT::Search::Googleish->new(argument => "",


More information about the Rt-commit mailing list