Closed NGeb1 closed 9 months ago
I can't reproduce it. What version of DMSF do you use?. I've the following structure:
project c1
sub-project c123 sub-folder Validation
sub-folder c123
$ cadaver http://localhost:3000/dmsf/webdav/c1
dav:/dmsf/webdav/c1/> ls
Listing collection `/dmsf/webdav/c1/': succeeded.
Coll: [c132] 4096 led 26 2023
Coll: Validation 4096 led 12 2023
dav:/dmsf/webdav/c1/> cd Validation
dav:/dmsf/webdav/c1/Validation/> ls
Listing collection `/dmsf/webdav/c1/Validation/': succeeded.
Coll: c123 4096 srp 10 07:45
dav:/dmsf/webdav/c1/Validation/> cd c123
dav:/dmsf/webdav/c1/Validation/c123/> ls
Listing collection `/dmsf/webdav/c1/Validation/c123/': succeeded.
maintenance_report_cw32.odt 97808 srp 10 07:45
dav:/dmsf/webdav/c1/Validation/c123/>
No feedback => closing.
Hello, I have a folder in a folder which has the same name as a subproject. These types of folders are not accessible using WebDAV and the HTTP request returns in error 404 . I did some tests and this happens no matter where in the folders tree the folder with the same name of the subproject appears. It looks like the code in the WebDAV request handler searches for a subproject even when the folder is not a direct sub folder of the project's DMSF root. When turning on debug logging I see that the last SQL commands before the error are: SELECT AND ' LIMIT 1
SELECT FROM
projects
. FROMprojects
WHERE (projects.status <> 9) ANDprojects
.parent_id
=projects
.identifier
= 'enabled_modules
.enabled_modules
WHEREenabled_modules
.project_id
=The subfolder doesn't have DMS enabled....
Thanks! NGeb1