Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Confirmed.

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.


Content by Label
showLabelsfalse
max5
spacesSKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("configuration","properties") and type = "page" and space = "SKB"
labelsconfiguration properties

Page properties
hiddentrue


Related issues