Zend Framework

The Resource_Frontcontroller should be Resource_FrontController

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: N/A N/A
  • Resolution: Not an Issue
  • Affects Version/s: 1.10.1
  • Fix Version/s: 1.10.2
  • Labels:
    None

Description

In one of my projects I got a weird memory error using ZF. It ran out of memory when loading the Resource_Frontcontroller by about 500MB.
The solution was to rename the Zend_Application_Resource_Frontcontroller to Zend_Application_Resource_FrontController (including classname and filename).

When I searched the rest of ZF, I found that there was nowhere something like Frontcontroller. Except for some tests. While the resource FrontController was used all over the Application module.

Activity

Hide
Matthew Weier O'Phinney added a comment -

Actually, we should be using all lowercase for the key names. The class is called Zend_Application_Resource_Frontcontroller, and the all lowercase naming is due to design decisions made to make matching of resource classes easier.

Show
Matthew Weier O'Phinney added a comment - Actually, we should be using all lowercase for the key names. The class is called Zend_Application_Resource_Frontcontroller, and the all lowercase naming is due to design decisions made to make matching of resource classes easier.
Hide
Martin Winkel added a comment -

Thanks for your reply. I've looked further into this problem. I now see it's by design. When I changed it back, I still got the error.

When I changed something in the application.ini (no real changes), it suddenly worked.

I'm sorry for the inconvenience.

Show
Martin Winkel added a comment - Thanks for your reply. I've looked further into this problem. I now see it's by design. When I changed it back, I still got the error. When I changed something in the application.ini (no real changes), it suddenly worked. I'm sorry for the inconvenience.
Hide
Dolf Schimmel (Freeaqingme) added a comment -

Closing for reasons described above.

Show
Dolf Schimmel (Freeaqingme) added a comment - Closing for reasons described above.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: