-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Root cannot be changed manually, change parent instead #1026
Comments
Same issue here. No idea how to fix this. :/ |
@kr0hmy, thx for your answer! Added to composer as temporary fix: "doctrine/orm" : "=v2.4.2" |
looks like an issue. will have a look this weekend and update the source code. use the older orm version for now |
this will require to refactor tree, will need to change the way it works now |
Any plan to fix this? |
not for now, I do not use extensions and ORM in recent projects, not sure when I would be able to take care of it |
Sad news... nobody who can take care of this? |
I have the same issue, did what @man4red suggested and it has fixed it temporarily. I don't have time to look at it just now. |
Any idea/plan to fix this? |
+1 Also having this problem. Hoping for a fix. |
Friends, things are going worse due to this bug in tree behaviour. Because of this Doctrine bug (DDC-3120 Warning: Erroneous data format for unserializing) we cannot use the Symfony 2 role subsystem. Affects PHP 5.4.29 also. That bug is already fixed in doctrine/orm 2.4.3 but tree behaviour requires doctrine/orm 2.4.2. is there any way to use the fixed ClassMetadataInfo class in doctrine/rom 2.4.2? |
+1 Same over here. Will use |
Same issue, I temporary fix it with @man4red suggestion. |
+1 Looking for a fix :) |
+1 Using temporary fix for now |
I've got a pull request out for a possible change to the Doctrine DDC-2996 fix that may help with the issues with the DoctrineExtensions bundle. I made the change described in the pull request, ran the DoctrineExtensions test suite, and all seemed OK. The change should also still handle the bug described in DDC-2996 too. |
A fix for DDC-3160 was just merged into the Doctrine2 master branch. That fix should get DoctrineExtensions back up and running. They are looking for feedback before deciding to port the fix to v2.4.3: http://www.doctrine-project.org/jira/browse/DDC-3208 |
@zimmermanj42 thx for info |
I tried testing the extensions with master, but that ended up causing a bunch of other issues. Not sure if it is because master is unstable or it just has a lot of changes/new features that are incompatible with DoctrineExtensions. What I did to test was use the broken 2.4.3 version and manually update the file that needed fixed and then ran the test suite for DoctrineExtensions. In 2.4.3, there were quite a few tests that were failing. After manually patching that release locally, all the tests reported OK again. Ideally, a 2.4.4 version of Doctrine2 would be released that includes this fix, but that's up to the Doctrine team to get together and I don't know when that would be. |
Doctrine2 ORM now has a 2.4.4 version that should fix these problems that were introduced with the 2.4.3 release. |
@zimmermanj42 thx for info |
@zimmermanj42, thank you! |
It's ok : doctrine/orm 2.4.4 fixed it ! Thanks |
so we can close all issues related to doctrine 2.4.3 changes i guess |
I'm receiving the same error when I try to I'm using Symfony 3 and |
We want to crete from child category, root category, and got this error
making from child category, root category.
composer.json
So that we removed parent, but still in root category, so our left and right positions are old. If we try
got this error
|
why are you using TreeRoot then at all? TreeRoot is meant to separate trees in the same table, for example project trees for different customers, if you use TreeRoot, the only option you have is to create a new Root node, nothing else. Do not use the TreeRoot at all. Maybe that should somehow be mentioned more explicitly in documentation if it isn't |
Doctrine/orm: "2.7" Desired scenario:
|
This error drives me crazy!
Sorry - I'm new with this.
My composer:
My setup:
Trying to make Nested Tree by documentation tutorial.
Error after this:
So I've added this for debug
and
So exception here
I can't understand how to fix this.
Plz any help!
Thx
The text was updated successfully, but these errors were encountered: