Zend Framework

Zend_Log:>addPriority() allowed priority duplicates

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.10.6
  • Fix Version/s: 1.10.7
  • Component/s: Zend_Log
  • Labels:
    None

Description

Zend_Log:>addPriority(), fires a exception, case assigned priority already existing.
Except to priorityName=emerg

Reproduced sample code:

Zend_Log:>addPriority('emerg', 8);

Expected a Exception

Activity

Hide
Ramon Henrique Ornelas added a comment -

Fixed in trunk with r22605 and applied on 1.10 branch with r22606.

Show
Ramon Henrique Ornelas added a comment - Fixed in trunk with r22605 and applied on 1.10 branch with r22606.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: