Fix plugin ID key matching in template lookup
This commit is contained in:
1 parent
0b8efe1a0c
commit
83825561bc
3 files changed
+3
-1
No files matched your search
@@ -7,6 +7,7 @@
|
||||
- Fixed `Template` key lookup to match CVEs even when `Remediations` CVE cells include extra leading/trailing spaces.
|
||||
- Updated key-driven `Template` formulas to return blank for missing source values (including exception date) instead of displaying Excel zero-date artifacts.
|
||||
- Fixed malformed `Template` `Unresolved for` formula that caused Excel to remove formula records from `sheet2.xml` during file recovery.
|
||||
- Fixed `Template` key lookup regression for numeric `Plugin ID` keys by matching Plugin IDs with numeric-first fallback logic.
|
||||
- Added repository policy in `AGENTS.md` requiring blank output for missing key-driven auto-populated values.
|
||||
- Updated `scripts/build_tracker_workbook.py` default seed rows for the new column layout and status set.
|
||||
- Updated `README.md` workbook column definitions and behavior notes for exception dates and unresolved metrics.
|
||||
|
||||
Binary file not shown.
@@ -335,7 +335,8 @@ def build_template_sheet(wb: Workbook, max_rows: int) -> None:
|
||||
)
|
||||
lookup_formula = (
|
||||
f'=IF(A{row}="","",IFERROR(MATCH(1,INDEX((TRIM(Remediations!$A:$A)=TRIM({normalized_key}))*1,0),0),'
|
||||
f'IFERROR(MATCH(TRIM({normalized_key}),Remediations!$B:$B,0),"")))'
|
||||
f'IFERROR(MATCH(IFERROR(VALUE(TRIM({normalized_key})),TRIM({normalized_key})),Remediations!$B:$B,0),'
|
||||
f'IFERROR(MATCH(TRIM({normalized_key}),Remediations!$B:$B,0),""))))'
|
||||
)
|
||||
|
||||
ws[f"N{row}"] = lookup_formula
|
||||
|
||||
Reference in new issue
Block a user