-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Self referenced entities generated using JDL import error on Angular 4 #6063
Comments
error: ERROR in ./src/main/webapp/app/entities/employee/employee-my-suffix-dialog.component.ts ERROR in [at-loader] ./src/main/webapp/app/entities/employee/employee-my-suffix-dialog.component.ts:9:10 ERROR in [at-loader] ./src/main/webapp/app/entities/employee/employee-my-suffix-dialog.component.ts:11:10 ERROR in [at-loader] ./src/main/webapp/app/entities/employee/employee-my-suffix-dialog.component.ts:13:10 ERROR in [at-loader] ./src/main/webapp/app/entities/employee/employee-my-suffix-dialog.component.ts:13:28 ERROR in [at-loader] ./src/main/webapp/app/entities/employee/employee-my-suffix-dialog.component.ts:33:17 ERROR in [at-loader] ./src/main/webapp/app/entities/employee/employee-my-suffix-dialog.component.ts:35:17 |
I think we need to exclude adding imports and service if the relationship is with same entity |
I got the same issue, as deepu said , just remove the link of Employee(manager) to itself, then the import will go well. Wish jhispter fix it asap. remove this: |
This error also occurs when importing the sample initially loaded in JDL Studio |
Executing jhipster:info
Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folderJDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
git version 2.13.2
node: v6.11.0
npm: 3.10.10
bower: 1.8.0
gulp:
[14:35:57] CLI version 1.3.0
yeoman: 2.0.0
yarn: 0.24.6
The text was updated successfully, but these errors were encountered: