Summary
A JavaScript SyntaxError fires on every page load of the AI model editor on CivicDataSpace:
SyntaxError: Failed to execute 'appendChild' on 'Node': missing ) after argument list
at p (/_next/static/chunks/549-3cc5a4b2f9dfcb5c.js:10:114337)
at /_next/static/chunks/549-3cc5a4b2f9dfcb5c.js:10:115151
at o1 (/_next/static/chunks/4bd1b696-faa427047ccc1678.js:1:89299)
at uE ...
The error fires twice per page load and propagates through the React fiber renderer.
Impact
- May cause partial render failures of specific UI sub-trees
- Confirmed present on both the AI models list page and the model editor wizard
- Likely caused by a template literal or
dangerouslySetInnerHTML block with an unescaped parenthesis in the unminified source
Steps to Reproduce
- Open
/dashboard/organization/civicdatalab/aimodels
- Click "Add New AI Model"
- Open browser DevTools → Console
- Observe two SyntaxError entries on page load
Fix Recommendation
Locate the p() function at offset 114337 in 549-3cc5a4b2f9dfcb5c.js in the unminified source. Likely a dynamic innerHTML or template literal with a malformed closing parenthesis. Fix and rebuild.
Environment
- URL:
https://dev.civicdataspace.in/dashboard/organization/civicdatalab/aimodels/edit/{id}/details
- Discovered: 2026-06-22 via QA audit
- Report ref: CDS-001
Summary
A JavaScript SyntaxError fires on every page load of the AI model editor on CivicDataSpace:
The error fires twice per page load and propagates through the React fiber renderer.
Impact
dangerouslySetInnerHTMLblock with an unescaped parenthesis in the unminified sourceSteps to Reproduce
/dashboard/organization/civicdatalab/aimodelsFix Recommendation
Locate the
p()function at offset114337in549-3cc5a4b2f9dfcb5c.jsin the unminified source. Likely a dynamicinnerHTMLor template literal with a malformed closing parenthesis. Fix and rebuild.Environment
https://dev.civicdataspace.in/dashboard/organization/civicdatalab/aimodels/edit/{id}/details