Open flyliu33 opened 2 weeks ago
JHipster has completed the sample check
.yo-rc.json
: error
Entities JDL: valid
Application:
Frontend check: skipped
Backend check: skipped
E2E check: skipped
This check uses jhipster info
output from the issue description to generate the sample.
Bug report that does not contain this information will be marked as invalid.
The provided reproduction is invalid cannot be tested by CI. Authority relationship is currently tested in imperative sql only.
The provided reproduction is invalid cannot be tested by CI. Authority relationship is currently tested in imperative sql only.
I also found issues of the many to many
relationship in regular entities. There is a many-to-many relationship between Employee
and Company
in the following jdl file excluding any authority
relevant definition.
microservice-ecommerce-store-4-apps.txt
Reproduction step:
jhipster jdl .\microservice-ecommerce-store-4-apps.jdl --auto-crlf
store
getaway service.Company
item in Employee
feature, then error alert will arise on the web page.
Company
item in Employee
feature, though no errors arose, Company
data can upload to backend successfully, but still cannot store in database.BTW, I found the reactive services including gateway cannot output the logs of uncatching exceptions on IDE console as non-reactive microservices did.
Overview of the issue
1. errors in relationships I tried to add a relationship between Authority entity and other custom entity as similar as User entity, but failed. I added the following code in my jdl file.
OR
It seemed to miss some code.
2. errors in dto While adding the Customer entity with dto together, another errors arose during genereting a new project errors.txt
Motivation for or Use Case
Adding new columns in Authority entity and associated relationships with Authority, because the basic feature of current authority cannot support the advanced authority management features.
Reproduce the error
jhipster jdl .\microservice-ecommerce-store-4-apps.jdl --auto-crlf
dto * with mapstruct
in jdl, executejhipster jdl .\microservice-ecommerce-store-4-apps.jdl --auto-crlf
in another new directoryRelated issues
Suggest a Fix
JHipster Version(s)
8.7.3
JHipster configuration
Jdl file: microservice-ecommerce-store-4-apps.txt
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║ ╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗ ╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝ https://www.jhipster.tech Welcome to JHipster v8.7.3
Welcome to the JHipster Information Sub-Generator
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
Environment and Tools
openjdk version "17.0.12" 2024-07-16 LTS OpenJDK Runtime Environment Corretto-17.0.12.7.1 (build 17.0.12+7-LTS) OpenJDK 64-Bit Server VM Corretto-17.0.12.7.1 (build 17.0.12+7-LTS, mixed mode, sharing)
git version 2.45.1.windows.1
node: v20.17.0 npm: 10.8.2
Docker version 27.1.1, build 6312585
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Congratulations, JHipster execution is complete! If you find JHipster useful consider sponsoring the project https://www.jhipster.tech/sponsors/
Thanks for using JHipster!
Browsers and Operating System
Edition Windows 11 Pro Version 23H2 Installed on 8/19/2024 OS build 22631.4391 Experience Windows Feature Experience Pack 1000.22700.1047.0