Saturday, February 22, 2014

Differences in 2.3.9 -> 2.4.5?

I have a test that is failing on 2.4.5 but not 2.3.9...

The error is:

  • CAKEEXCEPTION
    AclNode::node() - Couldn't find Aro node identified by "Array ( [Aro0.model] => User [Aro0.foreign_key] => 1 ) "
    Test case: LuSpeciesControllerTest(testAddMissingField)
    Stack trace:
    /var/lib/cakephp_2.4.5/lib/Cake/Model/Permission.php : 82
    /var/lib/cakephp_2.4.5/lib/Cake/Controller/Component/Acl/DbAcl.php : 74
    /var/lib/cakephp_2.4.5/lib/Cake/Controller/Component/AclComponent.php : 110
    /var/lib/cakephp_2.4.5/lib/Cake/Controller/Component/Auth/ActionsAuthorize.php : 40
    /var/lib/cakephp_2.4.5/lib/Cake/Controller/Component/AuthComponent.php : 462
    /var/lib/cakephp_2.4.5/lib/Cake/Controller/Component/AuthComponent.php : 307
    AuthComponent::startup
    /var/lib/cakephp_2.4.5/lib/Cake/Utility/ObjectCollection.php : 132
    ObjectCollection::trigger
    /var/lib/cakephp_2.4.5/lib/Cake/Event/CakeEventManager.php : 247
    /var/lib/cakephp_2.4.5/lib/Cake/Controller/Controller.php : 675
    /var/lib/cakephp_2.4.5/lib/Cake/Routing/Dispatcher.php : 182
    /var/lib/cakephp_2.4.5/lib/Cake/Routing/Dispatcher.php : 160
    /var/lib/cakephp_2.4.5/lib/Cake/TestSuite/ControllerTestCase.php : 271
    ControllerTestCase::_testAction
    /var/lib/cakephp_2.4.5/lib/Cake/TestSuite/ControllerTestCase.php : 188
    /opt/www/jsposato/pbec/app/Test/Case/Controller/LuSpeciesControllerTest.php : 137
    /opt/www/jsposato/pbec/app/Test/Case/Controller/LuSpeciesControllerTest.php : 137
    LuSpeciesControllerTest::testAddMissingField
    /usr/share/php/PHPUnit/Framework/TestCase.php : 983
    /usr/share/php/PHPUnit/Framework/TestCase.php : 838
    /usr/share/php/PHPUnit/Framework/TestResult.php : 648
    /usr/share/php/PHPUnit/Framework/TestCase.php : 783
    /var/lib/cakephp_2.4.5/lib/Cake/TestSuite/CakeTestCase.php : 82
    /usr/share/php/PHPUnit/Framework/TestSuite.php : 775
    /usr/share/php/PHPUnit/Framework/TestSuite.php : 745
    /usr/share/php/PHPUnit/TextUI/TestRunner.php : 349
    /var/lib/cakephp_2.4.5/lib/Cake/TestSuite/CakeTestRunner.php : 60
    /var/lib/cakephp_2.4.5/lib/Cake/TestSuite/CakeTestSuiteCommand.php : 95
    /var/lib/cakephp_2.4.5/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php : 243
    /var/lib/cakephp_2.4.5/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php : 96
    /var/lib/cakephp_2.4.5/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php : 113
    /opt/www/jsposato/pbec/app/webroot/test.php : 94
Anyone have any ideas as to what changed in the core that may have caused this?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: