Issue Type: Bug Created: 2008-04-17T08:53:26.000+0000 Last Updated: 2008-11-13T14:10:08.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)
Reporter: Marco Kaiser (bate) Assignee: Jurrien Stutterheim (norm2782) Tags: - Zend_Auth
Related issues: Attachments:
The constructor is currently private and should be protected to get extended classes working under php 5.2.6.
Posted by Thomas Weidner (thomas) on 2008-04-17T09:07:43.000+0000
But they ARE made private to be not extended... I would think this is expected behaviour and not a issue.
Posted by Marco Kaiser (bate) on 2008-04-17T09:10:08.000+0000
/** * Singleton pattern implementation makes "new" unavailable * * @return void */
not in every case. Some of them are singleton implementations and they should be extendable.
Posted by Darby Felton (darby) on 2008-04-17T09:29:21.000+0000
Indeed, Zend_Auth should be extensible, and this issue should be resolved for this component. I'm not sure why Zend_InfoCard would not be extensible with a private constructor, so I'll look into this, too. I'll defer to [~alexander] about Zend_Search_Lucene. [~ralph] and I should also have a look at Zend_Session, but I recall that there were design reasons for its private members.
Posted by Alexander Veremyev (alexander) on 2008-04-17T10:57:47.000+0000
Zend_Search_Lucene is not intended to be extensible, but its constructor is public. Zend_Search_Lucene objects should be created using open()/create() Zend_Search_Lucene static methods, but 'new' operator is not disabled (constructor is not switched to private) to be compatible with previous Zend_Search_Lucene implementations.
Posted by Darby Felton (darby) on 2008-04-17T11:23:38.000+0000
Removing Zend_Search_Lucene from affected components list.
Posted by Jurrien Stutterheim (norm2782) on 2008-10-08T11:34:28.000+0000
Resolved in revision 11747
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:08.000+0000
Changing issues in preparation for the 1.7.0 release.
Have you found an issue?
See the Overview section for more details.