-
-
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
Jhipster V794: Entity Creation Fails with Error : An error occured while running jhipster:entity#loadRelationShips #26018
Comments
Can you please provide the exact steps to reproduce the problem? Screenshots or commands executed are the best way for us to help you. |
Hello , A bidirectional one-to-many relationship So this is a one-to-many relationship (one owner has many cars) on one side, and a many-to-one relationship (many cars have one owner) on the other side: Owner (1) <-----> (*) Car We will create the Owner first. Here are the relevant JHipster questions for the Owner: jhipster entity Owner I think the issue is in the documentation: you can't create an entity with a relationship to another entity not created. |
I think this was fixed with #25564. You should try to reproduce with the latest version. |
JHipster v7 is not supported anymore. |
Overview of the issue
I want to create two entities Owner and Car (see your documentation)
Starting with Owner entity, I create a relation ship with other (non existing yet) entity Car.
Your doc says you will have a warning but I got an error and the entity is not created
Motivation for or Use Case
Blocking point for dev
Reproduce the error
systematic error when creating an entity with foreign key
##### JHipster configuration
INFO! Switching to JHipster installed locally in current project's node repository (node_modules)
ÔûêÔûêÔòù ÔûêÔûêÔòæ ÔûêÔûêÔòöÔòÉÔòÉÔòÉÔûêÔûêÔòæ ÔûêÔûêÔòæ ÔûêÔûêÔòöÔòÉÔòÉÔòÉÔòÉÔòØ ÔòÜÔòÉÔòÉÔòÉÔûêÔûêÔòù ÔûêÔûêÔòæ ÔûêÔûêÔòöÔòÉÔòÉÔòÉÔòØ ÔûêÔûêÔòöÔòÉÔòÉÔûêÔûêÔòæ
ÔòÜÔûêÔûêÔûêÔûêÔûêÔûêÔòöÔòØ ÔûêÔûêÔòæ ÔûêÔûêÔòæ ÔûêÔûêÔûêÔûêÔûêÔûêÔûêÔûêÔòù ÔûêÔûêÔòæ ÔûêÔûêÔûêÔûêÔûêÔûêÔòöÔòØ ÔûêÔûêÔòæ ÔûêÔûêÔûêÔûêÔûêÔûêÔûêÔûêÔòù ÔûêÔûêÔòæ ÔòÜÔûêÔûêÔòù
ÔòÜÔòÉÔòÉÔòÉÔòÉÔòÉÔòØ ÔòÜÔòÉÔòØ ÔòÜÔòÉÔòØ ÔòÜÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòØ ÔòÜÔòÉÔòØ ÔòÜÔòÉÔòÉÔòÉÔòÉÔòÉÔòØ ÔòÜÔòÉÔòØ ÔòÜÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòÉÔòØ ÔòÜÔòÉÔòØ ÔòÜÔòÉÔòØ
https://www.jhipster.tech
Welcome to JHipster v7.9.4
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
openjdk version "11.0.20.1" 2023-08-24
OpenJDK Runtime Environment Temurin-11.0.20.1+1 (build 11.0.20.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.20.1+1 (build 11.0.20.1+1, mixed mode)
git version 2.40.1.windows.1
node: v18.15.0
npm: 9.4.2
Congratulations, JHipster execution is complete!
Sponsored with ÔØñ´©Å by @oktadev.
The text was updated successfully, but these errors were encountered: