phalcon / cphalcon

High performance, full-stack PHP framework delivered as a C extension.
https://phalcon.io
BSD 3-Clause "New" or "Revised" License
10.79k stars 1.96k forks source link

[BUG] Phalcon\Mvc\Model - Zombie Model Relations #2464

Closed camcima closed 7 years ago

camcima commented 10 years ago

When running a phpunit test suite, I've noticed there is a problem with model relations that are not updated from test to test. I've managed to prepare a test script:

https://github.com/camcima/phalcon-model-bug

I'm using the latest Phalcon extension 1.3.1.

camcima commented 10 years ago

I forgot to mention I've already reported this a while ago at Phosphorum: http://forum.phalconphp.com/discussion/1619/invalid-model-relation

sergeyklay commented 7 years ago

The 1.3.x branch is not longer supported. If there are bugs in the 3.2.x, we can follow up in separate issues.