You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add a new object view with class assignment and save it without losing assigned classes on all existing views.
Actual behavior
I create a new view of type object and assign the class. After save all class assignments are lost, because they are saved as array instead of comma separated list.
Steps to reproduce
Create a view and assign classes to it and save the changes:
Reload the admin and open View Editor again.
Add new view of type object and select also the object and save:
Reload the admin again and open the first view, object selection is gone:
If you take a look in the database, the classes are stored as array, instead of comma separated list:
If you reassign the class in the view and save again, the classes are stored as comma separated string again and view the objects correct.
I tested the issue in pimcore 10.5 with Bundle Version 1.5.1 and also pimcore 11 with 1.6.1 and can reproduce it in both.
The bug is pretty critical, it breaks all existing views after creation of the new view.
If would be good if it can be fixed in both versions 1.5.2 and 1.6.2.
I inspected also the request, the data which is sent to the server has already wrong payload:
Maybe some serialization or encoding issue.
The text was updated successfully, but these errors were encountered:
@dvesh3 I have one installation with 10.5.23 where it occures. The 1.6.2 is only compatible with from 10.6.
Can you please create also 1.5.2 for 10.5?
Thanks!
Expected behavior
I want to add a new object view with class assignment and save it without losing assigned classes on all existing views.
Actual behavior
I create a new view of type object and assign the class. After save all class assignments are lost, because they are saved as array instead of comma separated list.
Steps to reproduce
Create a view and assign classes to it and save the changes:
Reload the admin and open View Editor again.
Add new view of type object and select also the object and save:
Reload the admin again and open the first view, object selection is gone:
If you take a look in the database, the classes are stored as array, instead of comma separated list:
If you reassign the class in the view and save again, the classes are stored as comma separated string again and view the objects correct.
I tested the issue in pimcore 10.5 with Bundle Version 1.5.1 and also pimcore 11 with 1.6.1 and can reproduce it in both.
The bug is pretty critical, it breaks all existing views after creation of the new view.
If would be good if it can be fixed in both versions 1.5.2 and 1.6.2.
I inspected also the request, the data which is sent to the server has already wrong payload:
Maybe some serialization or encoding issue.
The text was updated successfully, but these errors were encountered: