Scarab commit: svn commit: r10676 - branches/release/0.22/src/java/org/tigris/scarab/tools/ScarabRequestTool.java

Johannes Höchstädter <[email protected]>
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: jhoech
Date: 2009-01-14 05:50:24-0800
New Revision: 10676

Modified:
   branches/release/0.22/src/java/org/tigris/scarab/tools/ScarabRequestTool.java

Log:
FIX - Issue SCB2733, cached and current query additions should not be set to equals, if there is no current sort polarity for example. In this case caching is sensitive in my opinion, because there is no previous data to compare with, as later implemented.

Modified: branches/release/0.22/src/java/org/tigris/scarab/tools/ScarabRequestTool.java
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/0.22/src/java/org/tigris/scarab/tools/ScarabRequestTool.java?view=diff&pathrev=10676&r1=10675&r2=10676
==============================================================================
--- branches/release/0.22/src/java/org/tigris/scarab/tools/ScarabRequestTool.java	(original)
+++ branches/release/0.22/src/java/org/tigris/scarab/tools/ScarabRequestTool.java	2009-01-14 05:50:24-0800
@@ -1906,9 +1906,6 @@
         String sortPolarity = data.getParameters().getString("sortPolarity");
         String currentQueryAddition = "" + sortColumn + sortInternal + sortPolarity;
         String cachedQueryAddition = (String)data.getUser().getTemp("queryAddition");
-        if(currentQueryAddition.equals("nullnullnull"))
-            currentQueryAddition = cachedQueryAddition;
-
 
         List queryResult = (List)data.getUser().getTemp("queryResult");

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=1024174
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.