Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when json_encoding an interal TDBMObjectArray #12

Closed
nguyenk opened this issue Jan 7, 2015 · 0 comments
Closed

Problem when json_encoding an interal TDBMObjectArray #12

nguyenk opened this issue Jan 7, 2015 · 0 comments

Comments

@nguyenk
Copy link
Member

nguyenk commented Jan 7, 2015

When I get a TDBMObjectArray, and then ad it into a object I want to json_encode I get the following error :

Modification of ArrayObject during sorting is prohibited in D:\projets\ABCSalles\work\abcsalles\vendor\mouf\database.tdbm\src\Mouf\Database\TDBM\TDBMObjectArray.php on line 175

Unit test has been added : TDBMServiceTest::testTDBMObjectArrayInnerJsonEncode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant