php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59898 svn_fs_change_node_prop
Submitted: 2011-08-18 08:56 UTC Modified: 2011-08-18 22:38 UTC
From: php at talpidae dot net Assigned:
Status: Closed Package: svn (PECL)
PHP Version: 5.3.3 OS: Debian 6.0
Private report: No CVE-ID: None
 [2011-08-18 08:56 UTC] php at talpidae dot net
Description:
------------
Function svn_fs_change_node_prop() deletes the specified 
property if the fourth argument is NULL.

In the PHP wrapper for the function a NULL value for 
paremeter "value" is not allowed (parsed as type "string").

Because of this its not possible to remove SVN properties.

I resolved the problem for myself using the patch below.

Reproduce code:
---------------
http://www.talpidae.net/~jonas.zeiger/public/patches/svn-1.0.1-with-svn_fs_change_node_prop.patch

Expected result:
----------------
Remove the property entirely when NULL is given as fourth 
argument.

Actual result:
--------------
The property value is just set to "" (an empty string).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-18 22:38 UTC] alan at akbkhome dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Thanks
Regards
Alan
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 12:01:29 2024 UTC