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
When using Authority as part of a relationship, the application build is failing. See linked Pull Request, where I added this kind of thing into one of the tests.
Motivation for or Use Case
We have a use case where we want to use the existing Authority entity as part of a ManyToMany relationship. I tried it with current main branch, but that produces an error, even when using the with builtInEntity syntax.
My workaround was now building the Aplication with a "FakeAuthority" entity that is the very same as normal Authority (one single column with name String which is also the Id), and then switching all generated references to Authority and getting rid of any bi-directional thing. Will serve as a basis for adjusting the generator to make it work out-of-the-box (see below)
I'll try to enhance the Draft Pull request with a fix for the failing tests to generate the application similar to what i achieved manually in there in the next week unless someone points me to something that I did wrong or someone else working on that beforehand. :)
JHipster Version(s)
main branch (and also 7.9.3 where stuff like that isn't supported at all)
JHipster configuration
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:
This issue is stale because it has been open for too long without any activity.
Due to the moving nature of jhipster generated application, bugs can become invalid.
If this issue still applies please comment otherwise it will be closed in 7 days
Overview of the issue
When using Authority as part of a relationship, the application build is failing. See linked Pull Request, where I added this kind of thing into one of the tests.
Motivation for or Use Case
We have a use case where we want to use the existing Authority entity as part of a ManyToMany relationship. I tried it with current main branch, but that produces an error, even when using the
with builtInEntity
syntax.My workaround was now building the Aplication with a "FakeAuthority" entity that is the very same as normal Authority (one single column with name String which is also the Id), and then switching all generated references to Authority and getting rid of any bi-directional thing. Will serve as a basis for adjusting the generator to make it work out-of-the-box (see below)
Reproduce the error
#22105
Related issues
#14873 / #14596
Suggest a Fix
I'll try to enhance the Draft Pull request with a fix for the failing tests to generate the application similar to what i achieved manually in there in the next week unless someone points me to something that I did wrong or someone else working on that beforehand. :)
JHipster Version(s)
main branch (and also 7.9.3 where stuff like that isn't supported at all)
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
The text was updated successfully, but these errors were encountered: