Affects Version/s: 7.0.0 DXP FP45, 7.0.X, Master
Component/s: Core Infrastructure > Service Builder
In service.xml file String columns can be set to keep null value with specifying the convert-null="false" attribute.
This works unless the CacheModel is used, as explicit conversion to empty string (aka "") always happens for it in case of null value.
Steps to reproduce (DXP/7.0.x)
- Deploy the attached bundles: convert.null.test.api-1.0.0.jar, convert.null.test.service-1.0.0.jar, convert.null.test.mvc.portlet-1.0.0.jar
- Add ConvertNullTest-mvc portlet to a page and see what is logged:
The test bundles don't deploy on master.
As the issue is Service Builder related, there is no straightforward way to test the committed solution.