Description
Description:
Creating an object state automatically adds the object to the content type with a default value. However, only a trigger that changes the object's value saves the change to the Solr web UI.
Steps to reproduce:
- Install fresh installation of v4.6.10
- Set up Solr instance (version 8.11.2) and set it up as usual for v4.6.10
- Create a new Test folder in the admin.
- Create a new Object State Group with two Object States (for example: Visible: visible/hidden) in the admin ui
- Preview this folder in admin ui
- Open up Solr Admin panel (usually: http://localhost:8983/solr/#/).
- Query the Test folder. Observe assigned Object State ids.
- Change Visible Object State in admin.
- Query the Test folder again. Observe assigned Object State ids.
Actual Result:
Ids are still the same. They haven't changed after changing them in Admin UI.
Expected result:
Solr should have updated Object States for Test folder.