A null value does not override a non-null value set earlier in the configuration path. For example, a component with the property /atg/foo/boo
with a smells
might be set as follows:
$class=atg.service.funkystuff.foo.Boo
smells=spicy
A configuration file with higher precedence in the configuration path cannot override this property value by setting it to blank or null
as follows:
smells=
smells=null
The Oracle Commerce Platform provides a Constants
Nucleus service that lets you set null values by reference. This service, with a Nucleus address of /Constants
, has a single null
property that is set to null
. Thus, you can set a property value to null
as follows:
smells^=/Constants.null