Notifications

154 views

Most system properties with "empty" or blank value evaluate to the default value instead of being ignored



 

Problem


Sometimes attempts to remove some system property records are made empty to force the system to ignore them. However, if it set to blank or "empty", in most cases the value takes the default value, for example, glide.email.forward_subject_prefix. If the value of the property is empty or is not preset, it takes the value of "fw:,fwd:".

Sys_properties valueIf empty or blankDefault valueIf you want the property ignored 
glide.email.forward_subject_prefixDefault valuefw:,fwd:Set it to value that does not match the forward suffix
glide.email.reply_subject_prefixDefault valuere:,aw:,r:,Accepted:,Tentative:,Declined:Set it to value that does not match the reply suffix
glide.security.url.whitelistIgnoredemptyEmpty the value

 

Warning: Do not delete sys_properties records. Instead, set the property to a value  that avoids the unwanted behavior. Deleting one property could cause only one node to have a blank value (which takes the default value) and the other application nodes would have the cached old value. If this occurs, create the property again and set it to a value that does not match.

 

 

Symptoms


This problem occurs when:

  • You have set the a system property value to blank or "empty" and the default is still used.
  • You have deleted the sys_properties record.
  • You have set the system property from blank or "empty" to another value but the application nodes have not refreshed the cache.

Cause


System property values are parsed and used by the application nodes. Each module or part of the application interprets blank and empty values differently. A general rule is that properties (for example, glide.email.forward_subject_prefix) usually take the default value as if they do not exist.

Resolution


Set the system property value to a value that does not trigger the unwanted behavior.

For example, to avoid email suffixes being recognized:

  1. Set the glide.email.forward_subject_prefix value to "xxxrandomtextxxxxx:"
  2. Flush the instance by going to /cache.do or wait for the cache to be flushed automatically.
  3. Validate that the property is not matched any further.

 

Article Information

Last Updated:2018-01-25 05:13:49
Published:2017-09-18