Req #15893 [Opn->Csd]: Add deprecated backwards-compatible 'default_acl' config property
| From: | schmidt@php.net | Date: | Sun, 15 Feb 2009 16:42:04 +0000 |
| Subject: | Req #15893 [Opn->Csd]: Add deprecated backwards-compatible 'default_acl' config property | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-26@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=15893&edit=1
ID: 15893
Updated by: schmidt@php.net
Reported By: mike at silverorange dot com
Summary: Add deprecated backwards-compatible 'default_acl'
config property
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: Services_Amazon_S3
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: schmidt
Roadmap Versions:
New Comment:
<div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Closed</span>
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: schmidt</span>
</div>
Fixed in CVS:
http://news.php.net/php.pear.cvs/55339
Some time after 0.2.0 has been released, I will add a E_USER_NOTICE
about default_acl being deprecated.
Previous Comments:
------------------------------------------------------------------------
[2009-02-12 15:36:33] gauthierm
Description:
------------
In CVS, the 'default_acl' config property has changed to just 'acl'.
This is a good change, however, lots of code expects the other config
property. Since no errors are raised from an incorrect config property,
this change easily can go undetected, until you notice ACLs for files
are wrong.
I propose the 'default_acl' property should still be supported, but
should be deprecated. It should be treated the same as 'acl'.
Test script:
---------------
Expected result:
----------------
Actual result:
--------------
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=15893&edit=1