[
https://issues.apache.org/jira/browse/TIKA-4843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18108552#comment-18108552
]
ASF GitHub Bot commented on TIKA-4843:
--------------------------------------
tballison merged PR #3076:
URL: https://github.com/apache/tika/pull/3076
> 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
> Priority: Major
>
> 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)