Closed henri-tremblay closed 11 months ago
Side comment: "languages": ["en", "fr"]
is weird. I have generated without international support and English as the language.
This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days
Issue it still valid with beta-1
1- Create a project without a database
2- Add an entity (jhipster entity Item
) with whatever field (e.g name
)
ERROR! fieldType is missing in .jhipster/Item.json for field {
"fieldName": "name"
}
Error: fieldType is missing in .jhipster/Item.json for field {
"fieldName": "name"
}
at EntityGenerator._validateField (/.../aaa/node_modules/generator-jhipster/generators/entity/index.js:856:19)
at /.../aaa/node_modules/generator-jhipster/generators/entity/index.js:382:26
at Array.forEach (<anonymous>)
at EntityGenerator.configureFields (/.../aaa/node_modules/generator-jhipster/generators/entity/index.js:376:24)
at Object.<anonymous> (/.../aaa/node_modules/yeoman-generator/lib/index.js:991:25)
at /.../aaa/node_modules/run-async/index.js:49:25
at new Promise (<anonymous>)
at /.../aaa/node_modules/run-async/index.js:26:19
at runLoop.add.once.once (/.../aaa/node_modules/yeoman-generator/lib/index.js:992:11)
at processImmediate (internal/timers.js:461:21)
This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days
Still valid!
This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days
Still valid (from as far as I know)!
This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days
Still valid
This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days
Still valid I think
This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days
Generating field #1
? Do you want to add a field to your entity? Yes ? What is the name of your field? userid ? Do you want to add validation rules to your field? Yes ? Which validation rules do you want to add?
================= Bp ================= Fields userid (undefined)
Generating field #2
? Do you want to add a field to your entity? Yes ? What is the name of your field? added_timestamp ? Do you want to add validation rules to your field? No
================= Bp ================= Fields userid (undefined) added_timestamp (undefined)
Generating field #3
? Do you want to add a field to your entity? No
================= Bp ================= Fields userid (undefined) added_timestamp (undefined)
Generating relationships to other entities
? Do you want to add a relationship to another entity? No
================= Bp ================= Fields userid (undefined) added_timestamp (undefined)
? Do you want to use separate service class for your business logic? Yes, generate a separate service interface and implementation ? Do you want to use a Data Transfer Object (DTO)? Yes, generate a DTO with MapStruct ? Is this entity read-only? Yes ? Do you want pagination and sorting on your entity? No
Everything is configured, generating the entity...
ERROR! fieldType is missing in .jhipster/Bp.json for field {
"fieldName": "userid",
"fieldValidateRules": []
}
Error: fieldType is missing in .jhipster/Bp.json for field {
"fieldName": "userid",
"fieldValidateRules": []
}
at EntityGenerator._validateField (/home/mylogic/projects/bpbook/node_modules/generator-jhipster/generators/entity/index.js:1089:13)
at /home/mylogic/projects/bpbook/node_modules/generator-jhipster/generators/entity/index.js:454:16
at Array.forEach (
This issue is still there!!
Just ran into this as well:)
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
Still valid from as far as I know
Overview of the issue
I have generate a project which use "No database". I'm generating an entity for it. It used to be forbidden but in version 7.0.0-beta.0 it seems to now be allowed, which is really cool.
The following things do not work:
@Id
Motivation for or Use Case
I want a read-only script that will present information coming from calls on other APIs. So I don't need the persistence but having the UI and controllers is really useful.
Reproduce the error
Related issues
N/A
Suggest a Fix
JHipster Version(s)
7.0.0-beta.0
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryN/A
Browsers and Operating System
macOS Catalina