Ticket #262 (closed defect: fixed)
Config/Hierarchy Breaks Control Autoloads
| Reported by: | tomierna | Owned by: | |
|---|---|---|---|
| Priority: | must | Milestone: | 1.1 |
| Component: | Framework | Version: | |
| Keywords: | Autoload, QApplicationBase.class.php, controls, directory, hierarchy | Cc: |
Description
I'm migrating a 0.3.43 QCodo installation to QCubed 1.1 (SVN 242, checked out 5/22/09)
In debugging the issues you'd normally expect, I found that the custom controls I had loaded in 'includes/qcubed/controls' weren't autoloading.
I found that line 423 in QApplicationBase.class.php read:
} else if (file_exists($strFilePath = sprintf('%s/qcubed/%s.class.php', __QCUBED__, $strClassName))) {
It probably should read:
} else if (file_exists($strFilePath = sprintf('%s/controls/%s.class.php', __QCUBED__, $strClassName))) {
Perhaps this isn't the correct place to fix the problem, but I think it might be.
Change History
Note: See
TracTickets for help on using
tickets.
