jdl-studio icon indicating copy to clipboard operation
jdl-studio copied to clipboard

JDL Studio

Open paris0120 opened this issue 3 years ago • 4 comments

Overview of the issue

This is a bug for jdl studio. If there is a microservice with no entities, all entities will show in the application. The generator generates applications correctly.

Motivation for or Use Case

Microservice without entities.

Reproduce the error

Check out myApp1

application { config { baseName myApp, applicationType gateway, packageName com.myapp, authenticationType jwt, prodDatabaseType mysql, clientFramework react } entities * }

application { config { baseName myApp1, applicationType microservice, packageName com.myapp, authenticationType jwt, prodDatabaseType mysql, } }

application { config { baseName myApp2, applicationType microservice, packageName com.myapp, authenticationType jwt, prodDatabaseType mysql, } entities C }

entity A {}

entity B {}

entity C {}

entity D {}

relationship OneToMany { A to B }

Related issues
Suggest a Fix
JHipster Version(s)
JHipster configuration
Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System
  • [ ] Checking this box is mandatory (this is just to show you read everything)

paris0120 avatar Jul 07 '22 16:07 paris0120

jdl_visualization_error

Just uploaded a screenshot to clarify the issue. But I think the issue belongs to jhipster-online.

nomuna avatar Jul 26 '22 14:07 nomuna

what is the issue here? I don't understand what you are trying to say, please clarify

deepu105 avatar Aug 01 '22 08:08 deepu105

what is the issue here? I don't understand what you are trying to say, please clarify

As the OP mentioned the myApp1 has no reference to any entities so in the code no domain classes/entities are generated as expected. But in the JDL visualization all the entities are listed under myApp1 just like for myApp.

I am guessing the JDL visualization is buggy?

nomuna avatar Aug 03 '22 12:08 nomuna

Ah ok. This is issue for another repo then

deepu105 avatar Aug 04 '22 08:08 deepu105