Ticket #262 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

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

Changed 14 months ago by alex94040

  • status changed from new to closed
  • resolution set to fixed

(In [243]) Fixes #262 (Config/Hierarchy Breaks Control Autoloads). Code by tomierna, reviewed by alex94040.

Changed 14 months ago by alex94040

Thanks a bunch for your contribution! Fixed!

Note: See TracTickets for help on using tickets.