-
-
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
💥 Incorrect Object Type is being passed as parameter #15042
Comments
Also, class |
Looks like a bug. Here Line 144 in d6bf358
<%= primaryKey.type %> used instead of Long .
|
And also here: Line 110 in d6bf358
should be <%= primaryKey.type %> used instead of Long .
|
@amatosg Do you want to contribute with a PR? |
sure, let me take a look at it tonight |
generator-jhipster/generators/server/templates/src/main/java/package/service/EntityManager.java.ejs Line 195 in d6bf358
generator-jhipster/generators/server/templates/src/main/java/package/service/EntityManager.java.ejs Line 217 in d6bf358
So I guess those also need to be changed? |
@atomfrede @DanielFran I'm having trouble accessing |
It’s not available only default |
This issue is stale because it has been open 30 days with no activity. |
I'm lacking the time to help with this, but I just remember about it. This bug is still present in the code :( |
Overview of the issue
When creating a reactive monolithic project, setting the entity as
UUID
and importing through a JDL file, the method in theEntityRepository
interface has the incorrect object type as parameter:instead of
Motivation for or Use Case
This creates the wrong method signature.
Reproduce the error
jhipster import-jdl bank.jh
BankRepository
interfaceRelated issues
None that I know of.
Suggest a Fix
Change the signature using the proper object type
JHipster Version(s)
v7.0.1
JHipster configuration
JDL definitions
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryEntity Configuration
Browsers and Operating System
Using Windows 10 and Brave Browser
Love JHipster? Please consider supporting our collective:
👉 https://opencollective.com/generator-jhipster/donate
The text was updated successfully, but these errors were encountered: