Summary
Generated NFC payload routes are inconsistent with frontend route definitions.
Users scanning NFC-enabled cards can be directed to invalid or non-existent routes.
Affected Files
- nfc.ts
- frontend routing configuration
Root Cause
NFC URL generation and frontend route definitions have diverged.
The generated payload references paths that are not consistently handled by the frontend router.
Reproduction
- Generate an NFC-enabled card.
- Scan the NFC payload URL.
- Follow the generated route.
- Compare against valid frontend routes.
- Observe navigation failures or unexpected redirects.
Expected Behavior
NFC payload URLs should resolve correctly within the frontend application.
Actual Behavior
Generated URLs can reference unsupported routes.
Why This Is Difficult To Detect
Most testing focuses on browser navigation rather than NFC workflows.
The issue appears only when using generated NFC payloads.
Production Impact
- Broken NFC experiences
- Failed card sharing
- Navigation errors
- User confusion
Suggested Fix
Align NFC route generation with frontend routing definitions and add route consistency validation.
Severity
Medium
Summary
Generated NFC payload routes are inconsistent with frontend route definitions.
Users scanning NFC-enabled cards can be directed to invalid or non-existent routes.
Affected Files
Root Cause
NFC URL generation and frontend route definitions have diverged.
The generated payload references paths that are not consistently handled by the frontend router.
Reproduction
Expected Behavior
NFC payload URLs should resolve correctly within the frontend application.
Actual Behavior
Generated URLs can reference unsupported routes.
Why This Is Difficult To Detect
Most testing focuses on browser navigation rather than NFC workflows.
The issue appears only when using generated NFC payloads.
Production Impact
Suggested Fix
Align NFC route generation with frontend routing definitions and add route consistency validation.
Severity
Medium