Skip to content

docs: say when saving the General page still copies a value of an option or variable - #22

Merged
marevol merged 1 commit into
mainfrom
docs/general-page-save-caveat
Dec 5, 2026
Merged

marevol merged 1 commit into
mainfrom
docs/general-page-save-caveat

Conversation

@marevol

@marevol marevol commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

Documentation only.

The README said without a condition that saving the General page does not store a value that a key gets from the -D option or the environment variable. On a Fess build without the change of codelibs/fess#4058, a value the page shows (not the client id or secret) that has blanks or a line break at its start or end is copied into system.properties by every save. The sentence now says so, and stays true for builds with that change.

If codelibs/fess#4058 is not merged, the reference to it has to be revised.

…ion or variable

Saving the General page leaves a value given by a -Dfess.system.<key> option or a
FESS_SYSTEM_<KEY> variable out of system.properties. The page trims a field and
turns CR line breaks into LF before it is saved, and a Fess build without the
change of codelibs/fess#4058 compares the result with the raw value, so a value
that differs from it in this way is copied.
@marevol marevol added this to the 15.10.0 milestone Dec 5, 2026
@marevol marevol self-assigned this Dec 5, 2026
@marevol
marevol merged commit 0daed18 into main Dec 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant