Issues

ZF-10170: Zend_Log:>addPriority() allowed priority duplicates

Issue Type: Bug Created: 2010-07-16T22:29:51.000+0000 Last Updated: 2010-07-16T23:12:30.000+0000 Status: Resolved Fix version(s): - 1.10.7 (28/Jul/10)

Reporter: Ramon Henrique Ornelas (ramon) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Log

Related issues: Attachments:

Description

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

Reproduced sample code:

<pre class="highlight">
Zend_Log:>addPriority('emerg', 8);

Expected a Exception

Comments

Posted by Ramon Henrique Ornelas (ramon) on 2010-07-16T23:12:28.000+0000

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts