pimcore / admin-ui-classic-bundle

Other
7 stars 93 forks source link

[Bug]: Removed if-statement condition inside DocumentControllerBase Interface #398

Closed HermanoGrimmo closed 6 months ago

HermanoGrimmo commented 7 months ago

Pimcore version 11

When updating from Pimcore 10 to 11, an If-statement condition has been removed in the DocumentControllerBase:

Pimcore 10 version: admin-bundle-10

Pimcore 11 version: admin-bundle

This results in my local project entering the If branch when it shouldn't. Is there a reason why the condition was removed, and if not, is it possible to add it back? This behavior was not reproducable with the Pimcore Demo.

kingjia90 commented 6 months ago

Thank you, it seems that it was an unintentional removal Fixed by https://github.com/pimcore/admin-ui-classic-bundle/pull/427