excalibur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shash Chatterjee (JIRA)" <...@excalibur.apache.org>
Subject [jira] Resolved: (EXLBR-19) URLSource reports non-existent URL exists
Date Sat, 16 Apr 2005 15:39:07 GMT
     [ http://issues.apache.org/jira/browse/EXLBR-19?page=history ]
     
Shash Chatterjee resolved EXLBR-19:
-----------------------------------

    Resolution: Fixed

Date: Sat Apr 16 07:50:44 2005
New Revision: 161574

URL: http://svn.apache.org/viewcvs?view=rev&rev=161574
Log:
New test case from http://issues.apache.org/jira/browse/EXLBR-19

Added:
    excalibur/trunk/components/sourceresolve/src/test/org/apache/excalibur/source/test/URLSourceTestCase.java

Date: Sat Apr 16 07:51:43 2005
New Revision: 161575

URL: http://svn.apache.org/viewcvs?view=rev&rev=161575
Log:
Patch from: http://issues.apache.org/jira/browse/EXLBR-19
Fixes:  The URLSource exists() method incorrectly returns "true" even if the provided URL
(via the init method) does not exist.

Modified:
    excalibur/trunk/components/sourceresolve/src/java/org/apache/excalibur/source/impl/URLSource.java



> URLSource reports non-existent URL exists
> -----------------------------------------
>
>          Key: EXLBR-19
>          URL: http://issues.apache.org/jira/browse/EXLBR-19
>      Project: Excalibur Components
>         Type: Bug
>   Components: SourceResolver
>     Versions: 1.1
>  Environment: Using Cocoon 2.1.X under Tomcat 5.0.30-beta and Jetty 5.1.0 on Windows
XP and W2K servers
>     Reporter: Paul Christmann
>     Assignee: Shash Chatterjee
>  Attachments: URLSourceTestCase.java, patchfile.txt
>
> The URLSource exists() method incorrectly returns "true" even if the provided URL (via
the init method) does not exist.
>     URLSource source = new URLSource();
>     source.init("http://www.nosuchsite.com", Collections.EMPTY_MAP);
>     if ( source.exists() ) {
>         // It shouldn't, but exists returns true
>     }
>     

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@excalibur.apache.org
For additional commands, e-mail: dev-help@excalibur.apache.org


Mime
View raw message