bugphpGroupWare - Bugs: bug #7228, webdav mkdir() doesn't work...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #7228: webdav mkdir() doesn't work properly.

Submitter:  Caeies <Caeies>
Submitted:  Tue 13 Jan 2004 02:42:17 PM UTC
   
 
Category:  API - phpGroupware API Item Group:  0.9.16RC2
Severity:  3 - Normal Priority:  7 - High
Status:  Fixed Privacy:  Public
Assigned to:  skwashd Open/Closed:  Closed
Component Version:  SVN Operating System:  GNU/Linux - Debian
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Wed 14 Jan 2004 03:24:00 PM UTC, comment #3: 

see bugs #7247 too
thanks
Caeies

Caeies <Caeies>
Group administrator
Wed 14 Jan 2004 11:59:49 AM UTC, comment #2: 

After a long review and a lot's of thinking, I think that the patch is trivial. :)

Just take a look at the line 2098. removing the "!" before the file_exists solve the problem in a good way.
In fact if you execute this part of code you know that the directory never exists before, so we can safely create the .htaccess [ which could be a source for another problem, because if you use a special authentification (like LDAP) I'm not sure that the system handle this properly.

regards,
Caeies.

Caeies <Caeies>
Group administrator
Tue 13 Jan 2004 03:20:24 PM UTC, comment #1: 

After a long review and a lot's of thinking, I think that the patch is trivial. :)

Just take a look at the line 2098. removing the "!" before the file_exists solve the problem in a good way.
In fact if you execute this part of code you know that the directory never exists before, so we can safely create the .htaccess [ which could be a source for another problem, because if you use a special authentification (like LDAP) I'm not sure that the system handle this properly.

regards,
Caeies.

Caeies <Caeies>
Group administrator
Tue 13 Jan 2004 02:42:17 PM UTC, original submission:  

In fact every time you want to create a directory, if it is build or not, this function will always return false.

So you cann't know if the directory was properly created or not. As a colateral damage, the .htaccess will not be created in home dirs...

This is perhaps a feature, but ...
Caeies.

PS: patch will follow on patch tracker.

Caeies <Caeies>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-02-25 skwashd StatusNone Fixed
    Assigned toNone skwashd
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code