Tim Allison created TIKA-4843:
---------------------------------
Summary: Per-request parse-context config throws for parsers with
locked config fields
Key: TIKA-4843
URL: https://issues.apache.org/jira/browse/TIKA-4843
Project: Tika
Issue Type: Task
Reporter: Tim Allison
JsonMergeUtils.mergeWithDefaults deep-copies the default config via
mapper.convertValue() before merging caller JSON. That round-trip re-applies
every value through the setters, and RuntimeConfig subclasses override their
setters to reject caller input -- often as "any non-empty value is a
modification attempt". The config's own defaults therefore trip its own guards
and the copy fails before the caller's JSON is read.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)