sonata-project / SonataClassificationBundle

Symfony SonataClassificationBundle
https://docs.sonata-project.org/projects/SonataClassificationBundle
MIT License
89 stars 114 forks source link

[5.x] CategoryAdmin Tree view is not working #875

Closed haivala closed 1 year ago

haivala commented 1 year ago

Actual results

When I open the admin from SonataAdmin menu I go to /admin/app/sonata-sonataclassificationcategory/tree?hide_context=0 then the default tree view works: 2022-09-29_104525-area If I change the category and go to /admin/app/sonata-sonataclassificationcategory/tree?context=1&hide_context=0? It does not work: 2022-09-29_104643-area

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

haivala commented 1 year ago

Does anyone else have this bug?

jordisala1991 commented 1 year ago

Could you try with a fresh installation using contexts with string id?

I would like to see if it is something related to the wrong docs (already fixed) or if I should invest time on it.

jordisala1991 commented 1 year ago

Tried to reproduce with #908, and category loads correctly, I think it might be related with the id field of context. Closing for now.

haivala commented 1 year ago

Just FYI. I fixed the id field to string and same is still happening. There has to be something else my migration broke. Funny thing is that everything else seems to be working.