Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported JDL cannot be imported #161

Open
1 task done
JasonTypesCodes opened this issue Aug 13, 2020 · 3 comments
Open
1 task done

Exported JDL cannot be imported #161

JasonTypesCodes opened this issue Aug 13, 2020 · 3 comments
Labels
bug 🐞 Something isn't working $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $100 https://www.jhipster.tech/bug-bounties/

Comments

@JasonTypesCodes
Copy link
Contributor

Overview of the issue

When you export the JDL from a generated project and then try to import it in a new folder, it fails

Reproduce the error
  • Generate a new project
  • mhipster export-jdl test.jdl
  • cd ../other-project
  • cp ../first-project/test.jdl ./
  • mhipster import-jdl test.jdl
error: Syntax error message:
        MismatchedTokenException: Expecting --> ']' <-- but found --> '[' <--
        at line: 26, column: 19
Suggest a Fix

Removing otherModules [[object Object]] from the exported JDL seems to fix it

Browsers and Operating System

Fedora Linux 31

  • Checking this box is mandatory (this is just to show you read everything)
@atomfrede atomfrede added the bug 🐞 Something isn't working label Aug 13, 2020
@mraible mraible added $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $100 https://www.jhipster.tech/bug-bounties/ labels Aug 21, 2020
@JasonTypesCodes
Copy link
Contributor Author

This seems to be a bigger issue than just us. Generating a a project with another blueprint:
jhispter --blueprints vuejs
Yields the same results

@atomfrede
Copy link
Member

Looks a main generator thing. Will try to have a look during the week.

@atomfrede
Copy link
Member

The export function comes from jhipster core, need to check what we can do about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $100 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

No branches or pull requests

3 participants