Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Affected version(s): all

Problem

You have added a comment behind a config option, e.g.

com.openexchange.capability.mycapability=true # Turn on awesome capability

within a .properties file but the value doesn't work like expected.

Root Cause

Backend just utilizes "java.util.Properties" class to read .properties files and assumes its author obeyed the Properties File Format , see:

https://docs.oracle.com/cd/E23095_01/Platform.93/ATGProgGuide/html/s0204propertiesfileformat01.html

Solution

Appending comments after property values would break nearly every non-string property. Hence having a working properties file comments must not be added after config option on the same line.

  • No labels