ZF-4272: read-only flag has no effect in delete method

Issue Type: Bug Created: 2008-09-12T10:50:42.000+0000 Last Updated: 2012-03-21T10:58:12.000+0000 Status: Resolved Fix version(s): - 1.6.2 (13/Oct/08)

Reporter: Kamil Nowakowski (kamiln) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Db_Table

Related issues: Attachments:


In Zend_Db_Table_Row you can set the read-only flag When you call save method there is an exception but in delete method there is no such warning

There shoud be

<pre class="highlight">
        if ($this->_readOnly === true) {
            require_once 'Zend/Db/Table/Row/Exception.php';
            throw new Zend_Db_Table_Row_Exception('This row has been marked read-only');


Posted by old of Satoru Yoshida ( on 2008-09-14T19:34:42.000+0000

Solved in SVN r11411

Posted by old of Satoru Yoshida ( on 2008-10-09T20:54:11.000+0000

This issue will be solve in version 1.6.2 .

Zend/Db/Table/Row/Abstract.php is modified.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.