Global fix for generating right class name for controller resolver (to make that...
authorRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 21:42:07 +0000 (21:42 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 21:42:07 +0000 (21:42 +0000)
application/qa/class_ApplicationHelper.php

index 1ec577a..edff014 100644 (file)
@@ -188,8 +188,8 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
                        $requestInstance->setRequestElement('command', $commandName);
                } // END - if
 
-               // Get a resolver
-               $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType);
+               // Get a controller resolver
+               $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
                $resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
 
                // Get a controller instance as well