task-p.4.3.1
This commit is contained in:
@@ -411,3 +411,37 @@ The following belongs to later tasks:
|
||||
Task P.4.3.1 is complete only when the refactored section-based runtime produces a passing runtime audit with zero legacy input regressions.
|
||||
|
||||
After this task passes, continue to Task P.4.4.
|
||||
|
||||
## Additional Fix - Quotation Date Consistency
|
||||
|
||||
Runtime audit still fails because `quotation_date` and `quotation_date_data` are inconsistent with the approved snapshot.
|
||||
|
||||
Investigate the source and formatter for:
|
||||
|
||||
- templateInput.quotation_date
|
||||
- templateInput.quotation_date_data
|
||||
- approved snapshot quotation date values
|
||||
- documentData.pdfme.quotation_date
|
||||
|
||||
Ensure both keys are generated from the same canonical source and formatter.
|
||||
|
||||
Required rule:
|
||||
|
||||
- `quotation_date`
|
||||
- `quotation_date_data`
|
||||
|
||||
must always be identical unless a template explicitly maps them differently.
|
||||
|
||||
Preferred fix:
|
||||
|
||||
Create or reuse a single canonical PDFMe date formatter and assign both keys from the same value.
|
||||
|
||||
Do not patch one key independently.
|
||||
Do not change approved artifact retrieval behavior.
|
||||
Do not modify template JSON.
|
||||
|
||||
Acceptance:
|
||||
|
||||
- consistency.status = PASS
|
||||
- inconsistentKeys = []
|
||||
- overallStatus = PASS
|
||||
|
||||
Reference in New Issue
Block a user