Zend Framework

read-only flag has no effect in delete method

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.5.3, 1.6.0
  • Fix Version/s: 1.6.2
  • Component/s: Zend_Db_Table
  • Labels:
    None
  • Fix Version Priority:
    Should Have

Description

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

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');
        }

Activity

Hide
Satoru Yoshida added a comment -

Solved in SVN r11411

Show
Satoru Yoshida added a comment - Solved in SVN r11411
Hide
Satoru Yoshida added a comment -

This issue will be solve in version 1.6.2 .

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

Show
Satoru Yoshida added a comment - This issue will be solve in version 1.6.2 . Zend/Db/Table/Row/Abstract.php is modified.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
20m
Original Estimate - 20 minutes
Remaining:
20m
Remaining Estimate - 20 minutes
Logged:
Not Specified
Time Spent - Not Specified