Bug 43706

Summary: Fix a litmus warning for WebdavServlet
Product: Tomcat 6 Reporter: Panagiotis Astithas <past>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: default   
Hardware: All   
OS: All   
Attachments: The patch that fixes the litmus 'copymove' warnings.

Description Panagiotis Astithas 2007-10-26 07:03:28 UTC
The litmus WebDAV compliance test suite produces a couple of warnings in its
'copymove' group of tests. This is the output on tomcat6 trunk:

$ env TESTS="copymove" litmus http://localhost:8080/webdav/ 
-> running `copymove':
 0. init.................. pass
 1. begin................. pass
 2. copy_init............. pass
 3. copy_simple........... WARNING: COPY to new resource didn't give 201
    ...................... pass (with 1 warning)
 4. copy_overwrite........ pass
 5. copy_cleanup.......... pass
 6. copy_coll............. pass
 7. move.................. WARNING: MOVE to new resource didn't give 201
    ...................... pass (with 1 warning)
 8. move_coll............. pass
 9. move_cleanup.......... pass
10. finish................ pass
<- summary for `copymove': of 11 tests run: 11 passed, 0 failed. 100.0%
-> 2 warnings were issued.

With my patch the warnings are gone:

$ env TESTS="copymove" litmus http://localhost:8080/webdav/ 
-> running `copymove':
 0. init.................. pass
 1. begin................. pass
 2. copy_init............. pass
 3. copy_simple........... pass
 4. copy_overwrite........ pass
 5. copy_cleanup.......... pass
 6. copy_coll............. pass
 7. move.................. pass
 8. move_coll............. pass
 9. move_cleanup.......... pass
10. finish................ pass
<- summary for `copymove': of 11 tests run: 11 passed, 0 failed. 100.0%
Comment 1 Panagiotis Astithas 2007-10-26 07:05:43 UTC
Created attachment 21051 [details]
The patch that fixes the litmus 'copymove' warnings.

I left in an additional unrelated comment fix for build.xml, in order to avoid
polluting the bug database.
Comment 2 Mark Thomas 2007-12-20 14:17:45 UTC
This is fixed in 6.0.x and will be included in the next release.