You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I generate entity code with JDL command(jhipster jdl ./my-jdl-file.jdl), it will generate normally. And Again, generate with the similar jdl-file, which contain some entity the first JDL file has. At this time, In the filesrc/main/webapp/app/core/jhi-navbar/jhi-navbar.vue, the generated code will added to the location after <!-- jhipster-needle-add-entity-to-menu - JHipster will add entities to the menu here -->, instead of replaced the code generated before. So the label </b-dropdown-item> containe the button of old entity code and the btn of new.
For example, the following code has two location and instance...etc
relationship OneToMany {
SchemaInfo{tableInfo(tableSchemaId)} to TableInfo{schemaInfo},
TableInfo{columnInfo(tableId)} to ColumnInfo{tableInfo},
ScanJob to Schedule,
Schedule to SchemaInfo,
Schedule to TableInfo,
Schedule to ColumnInfo,
BussinessSystem to Schema,
Location to Schema,
Instance to Schema,
Schema to SchemaInfo,
}
relationship ManyToMany {
ScanJob to BussinessSystem,
ScanJob to Location,
}
paginate * with pagination
service * with serviceClass
dto * with mapstruct
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)
The text was updated successfully, but these errors were encountered:
Overview of the issue
I generate entity code with JDL command(jhipster jdl ./my-jdl-file.jdl), it will generate normally. And Again, generate with the similar jdl-file, which contain some entity the first JDL file has. At this time, In the file
src/main/webapp/app/core/jhi-navbar/jhi-navbar.vue
, the generated code will added to the location after<!-- jhipster-needle-add-entity-to-menu - JHipster will add entities to the menu here -->
, instead of replaced the code generated before. So the label</b-dropdown-item>
containe the button of old entity code and the btn of new.For example, the following code has two location and instance...etc
Motivation for or Use Case
when I generate entity code, the repeat code need to deleted manually.
Reproduce the error
Related issues
Suggest a Fix
Find the label of same name have been generated, and replace it.
JHipster Version(s)
INFO! Using JHipster version installed globally
7.1.0
JHipster configuration
JDL definitions
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
The text was updated successfully, but these errors were encountered: