[ 
https://issues.apache.org/jira/browse/TIKA-4843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Allison resolved TIKA-4843.
-------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

> 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
>             Fix For: 4.1.0
>
>
> 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)

Reply via email to