jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #522 has been filed.
Date Tue, 05 Dec 2000 01:44:46 GMT
Bug report #522 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/522>

REPORT #522 Details.

Project: Watchdog
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: serious
Confidence: public
Environment: 
   Release: Watchdog 3.x
   JVM Release: jdk1.2.3
   Operating System: Solaris
   OS Release: 2.7
   Platform: Sparc

Synopsis: 
Logical Error in GetParameterValuesTestServlet

Description:
Or(||) and (&&) needs to be interchanged.
Here is the context diff.


diff -c GetParameterValuesTestServlet.java.old /usr2/download/Jakarta/jakarta-watchdog/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequest/GetParameterValuesTestServlet.java
*** GetParameterValuesTestServlet.java.old  Mon Dec  4 17:06:56 2000
--- /usr2/download/Jakarta/jakarta-watchdog/src/server/servlet-tests/WEB-INF/classes/tests/javax_servlet/ServletRequest/GetParameterValuesTestServlet.java
     Mon Dec  4 17:09:36 2000
***************
*** 101,110 ****
                if(vals.length == 2) {
  
                        if((vals[0].equals("sun")
!                               ||vals[1].equals("javasoft")) &&
  
!                               (vals[0].equals("sun")||
!                                       vals[1].equals("javasoft"))) {
  
                                msg="OK";
                                status="true";
--- 101,110 ----
                if(vals.length == 2) {
  
                        if((vals[0].equals("sun")
!                               &&vals[1].equals("javasoft")) ||
  
!                               (vals[0].equals("javasoft")&&
!                                       vals[1].equals("sun"))) {
  
                                msg="OK";
                                status="true";


Mime
View raw message