Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug on null description (elastic#162106)
## Summary Closes elastic#162069 Fixes the validation error on the content management service if the description is set to null. I am not sure how the description can be set to null. If I create a Lens so in 7.17 and I don't set the description then it is automatically set to '' (empty string) I can think of 2 ways: - It was possible in older kibana versions - Someone changed the SO manually and set this to null This change fixes it with allowing the schema to also set nullable values. Note: Maybe covers the undefined case. To test it just import the SO given by Bhavya here elastic#162069 <img width="2496" alt="image" src="https://github.com/elastic/kibana/assets/17003240/481ef105-2efb-47c0-9d06-94f7fddbf703"> (cherry picked from commit 2e1d36a)
- Loading branch information