Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
8.11
-
None
Description
I can't select my schema in Schema Designer tab in Admin UI.
It happens only when I disable automatic field guessing (according to this syntax reported in the code snippet below)
The following errors are logged:
- [AnnotatedApi]: Error executing command
- [HttpSolrCall]: java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Boolean (java.lang.String and java.lang.Boolean are in module java.base of loader 'bootstrap')
I can reproduce the bug with an example configuration:
./bin/solr start -e cloud -noprompt
./bin/solr config -c gettingstarted -p 8983 -action set-user-property -property update.autoCreateFields -value false
Now go to Schema Designer and select the gettingstarted schema: you shouldn't be able to open it.
Replacing false with "false" (with quotes) doesn't change the final result.