Closed lrkwz closed 8 years ago
BTW Using
$ jhipster-uml jhipster-jdl.jh
somehow leads to a result.
This looks like a JDL issue -> can you move this ticket to the jhipster/jhipster-core project ?
Closing this because this should be JDL bug -> please link to this ticket when you re-open it on jhipster/jhipster-core
Relationship from User entity is not supported by JHipster and JDL and its clearly documented as well
You can only do relationships to User entity that too only many-to-one, one-to-one and many-to-many and User cannot be owner in any of these case
relationship OneToMany{
User{customer} to Customer
}
Overview of the issue
I wish to use the User entity in order to associate each User with a Customer.
JDL-Importing such a definition generates an error
further inspecting the error is In the relationship between User and Customer, User is not declared.
Reproduce the error
jhipster-jdl.jh
JHipster Version(s)
BTW I'm quite sure it is a regression bug.
JHipster configuration, a
.yo-rc.json
file generated in the root folderEntity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
git version 1.9.1
node: v4.2.1
npm: 3.10.5
bower: 1.7.9
gulp: [14:40:57] CLI version 1.2.2 [14:40:57] Local version 3.9.1
yeoman: 1.7.1
Docker version 1.11.2, build b9f10c9
docker-compose version 1.7.1, build 0a9ab35