-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Pagination is not being generated #786
Comments
to generate pagination, I was forced to add "this.pagination='pagination';" in customizeDotnetPaths in utils.js file . |
@gatity Could you create another issue for the one-to many relationship with more details? |
@ivanmonteiro @gatity thanks for your help i look this soon |
I've faced the same problem using postgres for database , so I did some debugging and I've found that the constant value for the database in dotnetcore generator is 'postgres' but for generator-jhipster is 'postgresql'. The problem now is that the constant value 'postgres' is repeatly used in many places to the code and is a little risky to replace it everywhere. |
Hello I face the same issue. |
Overview of the issue
When I import entitities by JDL no pagination is generated, even with
paginate * with pagination
set in the JDL.I'm using the main version of jhipster.net with angular as the frontend.
Motivation for or Use Case
Reproduce the error
Create a file named
myapp.jdl
with the following contents:and then run
jhipster import-jdl myapp.jdl
The generated .
.jhipster/employee.json
will contain"pagination": "no",
instead of"pagination": "pagination"
.Oddly, if I run
jhipster import-jdl myapp.jdl --json-only
the ..jhipster/employee.json
will contain"pagination": "pagination"
as expected. But when I try to re-generate the entity files withjhipster --with-entities
pagination is set no "no" for unknown reasos. So pagination is not generated.As @nicolas63 said it migh be a regression from upgrading to jhipster v7.
Related issues
Suggest a Fix
JHipster Version(s)
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: