History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ZF-426
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Rob Allen
Reporter: Rob Allen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

Setting a key as a scalar and an array fails

Created: 06/Oct/06 03:40 PM   Updated: 05/Jul/07 02:43 PM
Component/s: Zend_Config
Affects Version/s: 0.1.5
Fix Version/s: 0.2.0

Time Tracking:
Not Specified

Resolution Date: 06/Oct/06 04:41 PM


 Description  « Hide
ini file:
[dotting]
db = one
db.name = two

load into a $config and var_dump($config) gives:

object(Zend_Config_Ini)#1317 (4) {
  ["_allowModifications:protected"] => bool(false)
  ["_index:protected"] => int(0)
  ["_count:protected"] => int(1)
  ["_data:protected"] => array(1) {
    ["db"] => string(3) "tne"
  }
}

Related to this, _processLevelsInKey() is unnecessary and _processKey() can recurse to itself.



 All   Comments   Work Log   Change History   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Rob Allen - 06/Oct/06 04:41 PM
Fixed in subversion changeset 1187