New Parser: Interest Rate Swap
Closed this issue ยท 0 comments
jolanglinais commented
Bug Report ๐
Working with a micropublish of the new Cicero parser and the generated template, crashing on load
Expected Behavior
Hide and reveal optional variables (with nothing else in optional)
Current Behavior
When hiding one of the optional variables, receive ParseException
:
Uncaught (in promise) ParseException: Parse error at line 42 column 39
Floating Rate Day Count Fraction: "30"
Expected: ' '
at _throwParseError (http://localhost:9009/vendors~main.9a1e714796444341673e.bundle.js:59473:11)
at TemplateMarkTransformer.dataFromCiceroMark (http://localhost:9009/vendors~main.9a1e714796444341673e.bundle.js:59560:13)
at Clause.parse (http://localhost:9009/vendors~main.9a1e714796444341673e.bundle.js:1643:42)
at http://localhost:9009/main.9a1e714796444341673e.bundle.js:1073:18
at http://localhost:9009/main.9a1e714796444341673e.bundle.js:1107:5
at invokeFunc (http://localhost:9009/vendors~main.9a1e714796444341673e.bundle.js:287115:23)
at trailingEdge (http://localhost:9009/vendors~main.9a1e714796444341673e.bundle.js:287164:18)
at timerExpired (http://localhost:9009/vendors~main.9a1e714796444341673e.bundle.js:287152:18)
Steps to Reproduce
- Working off this branch
- Update latest micropublish of Cicero (v0.21) Parser Branch and markdown-transform
- Load
https://parserv2--templates-accordproject.netlify.app/interest-rate-swap@0.6.1.cta
in storybook - Click an optional to hide text
Context (Environment)
Desktop
- OS: macOS
- Browser: Chrome
- Version: 0.21.0
- Cicero (v0.21) Parser Branch