Hi,

I'm trying this test case with Slide 1.0.16
(jdbc for descriptor store and file for content store):

/testsuite/testsuite/junit/xmltestcases/functional/delete/mix/deleteDependency.xml

 Checks if Delete Method can be applied to a directory where one of the
files
 is locked.

 The test case consist of following major steps (unnecessary step like
 propfind, head are not mentioned): mkcol a directory, puts a number of
 files, locks one of the files, try to delete the directory (cannot),
unlocks
 the file and finally deletes the directory

 Status code returned by first Delete Method must be 207 multi-status
and
 inside that it should be 423 locked , in that case one should not be
able
 to delete the directory.


The first time you run the test, it work correctly; at the end of the
test, there
was no files in the content directory and a PROPFIND from the client
give an
empty result; the DELETE seemed to work fine.
The second time you run the same test, you get a code [204 No Content]
for the
PUT of the two files that were not locked before. After the test, the
PROPFIND
give an empty result but two files existed in the content directory.

I think that this two files are not correctly deleted in the descriptor
store
after the first test. It seems that the descriptor database is
corrupted.

Is this a bug?

Thanks,

Didier



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to