Using the command jhipster import-jdl ResourceManagement.jh --json-only on the jdl below.
oddly starting a variable with 'all' such as "allowMultiple Boolean required" throws the error
Motivation for or Use Case
error: Error message:
MismatchedTokenException: Expecting --> '}' <-- but found --> 'all' <--
at line: 7, column: 5
SyntaxError: Error: MismatchedTokenException: Expecting --> '}' <-- but found --> 'all' <--
at line: 7, column: 5
Error while parsing applications and entities from the JDL SyntaxError: Error: MismatchedTokenException: Expecting --> '}' <-- but found --> 'all' <--
at line: 7, column: 5
Overview of the issue
Using the command
jhipster import-jdl ResourceManagement.jh --json-only
on the jdl below. oddly starting a variable with 'all' such as "allowMultiple Boolean required" throws the errorMotivation for or Use Case
error: Error message: MismatchedTokenException: Expecting --> '}' <-- but found --> 'all' <-- at line: 7, column: 5 SyntaxError: Error: MismatchedTokenException: Expecting --> '}' <-- but found --> 'all' <-- at line: 7, column: 5 Error while parsing applications and entities from the JDL SyntaxError: Error: MismatchedTokenException: Expecting --> '}' <-- but found --> 'all' <-- at line: 7, column: 5
Reproduce the error
jhipster import-jdl ResourceManagement.jh --json-only
Related issues
none
Suggest a Fix
if I change the JDL variable name from allowMultiple to alowMultiple it works. probably has to do with the 'all' option feature used throughout
JHipster Version(s)
6.4.1
JHipster configuration
JDL definitions
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
Windows 10 build 1909, chrome (latest)