Skip to content

Commit 7d8683b

Browse files
milanmajchrakclaude
andcommitted
Fix the licence check name in report-diff-fields.json
report-diff-fields.json addresses the licence row as /checks/[name=License summary]/report/licenses, but dtq-dev-9-base ships that check as "License": dspace/config/modules/healthcheck.cfg healthcheck.checks = General Information, Checksum, Item summary, User summary, Log Analyser Check, License, Embargo info plugin.named.org.dspace.health.Check = org.dspace.health.LicenseCheck = License ReportDiff resolves a [name=...] segment against the check name recorded in the stored report, so the mapping can never match and report-diff silently drops the licences row from both the field mapping and the field order. "License summary" is the name healthcheck.cfg uses on dtq-dev, which is where this resource came from; HealthReportIT on this branch already addresses the same check as "License". healthcheck.cfg is deliberately not touched: the shipped check names are correct, the resource was the outlier. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 1cda0dc commit 7d8683b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dspace-api/src/main/resources/report-diff-fields.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"/checks/[name=User summary]/report/subscribers": "Subscribers",
2424
"/checks/[name=User summary]/report/subscribedCollections": "Subscribed Collections",
2525
"/checks/[name=User summary]/report/emptyGroups": "Empty Groups",
26-
"/checks/[name=License summary]/report/licenses": "Licenses",
26+
"/checks/[name=License]/report/licenses": "Licenses",
2727
"/checks/[name=Metadata check]/report/errorCount": "Metadata Errors",
2828
"/checks/[name=Metadata check]/report/warningCount": "Metadata Warnings"
2929

@@ -52,7 +52,7 @@
5252
"/checks/[name=User summary]/report/subscribers",
5353
"/checks/[name=User summary]/report/subscribedCollections",
5454
"/checks/[name=User summary]/report/emptyGroups",
55-
"/checks/[name=License summary]/report/licenses",
55+
"/checks/[name=License]/report/licenses",
5656
"/checks/[name=Metadata check]/report/errorCount",
5757
"/checks/[name=Metadata check]/report/warningCount"
5858
]

0 commit comments

Comments
 (0)