(on Monday, 15 December 2008, 12:09 PM -0800):
> I just tried the new version 1.7.1 coming from 1.6.2
>
> I have action controllers that extend my custom base action controller which
> in turn extends Zend_Controller Action.
>
> I noticed such difference after the upgrade:
>
> - 1.6.2:
> My custom base action was located in the same directory as the controllers
> (standard suggested layout), and it was named BaseAction (BaseAction.php).
> The controllers in the same directory extended that base action, and
> everything worked fine.
>
> - 1.7.1
> Now that base action cannot be located anymore, and I get errors such as
> "cannot find BaseAction bla bla include_path bla bla"
> I put no controllers directories into the include path with version 1.6.2,
> and I guess it wasnt neeed (it never complained).
> Now to resolve with 1.7.1 I had move the Base Action file into my model
> directory, which is included into the include path. (I didnt want to change
> my include path and include the controllers directories into it as well!).
>
> How do you think about such issue ?
Honestly? BaseAction.php in your controllers directory should never have
been found during autoloading unless you had '.' on your include path.
Is it possible that changed?
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论