FOLIO-FSE / FOLIO-FSE/folio_migration_tools

replaceValues in config files only works at top level

Open
#638 0 comments 0 reactions 0 assignees View on GitHub
2025 Review
Dominant language
Python
Stars
14
Forks
10
Avg merge
55m
Merged PRs (30d)
7

Description

For example,

```
{
"folio_field": "totalEstimatedPrice",
"legacy_field": "FOLIO_totalEstimatedPrice_SYSTEM_AUD",
"value": "",
"rules": {
"regexGetFirstMatchOrEmpty": "[0-9]+\\.[0-9]{2}"
},
"description": ""
}
```

works, but

```
{
"folio_field": "ongoing.isSubscription",
"legacy_field": "FOLIO_ongoing_isSubscription",
"value": "",
"description": "",
"replaceValues": {
"TRUE": true,
"FALSE": false
}
}
```

doesn't

Contributor guide

Open the contributing guide

Research direction

Start by locating the config-file handling for replaceValues and compare how the top-level example is processed with the nested ongoing.isSubscription example. Done means the nested replaceValues mapping applies TRUE and FALSE as shown in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.