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 ?
Thank you much.
Greetings
--
View this message in context: http://www.nabble.com/Action-Controllers-extending-custom-one-and-include-path-in-version-1.7.1-tp21021017p21021017.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论