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.


Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.


Related issues