-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Audit Fields Not Generated When Using [email protected] with JHipster v8.8.0 #291
Comments
Only angular is supported. |
Thanks for clarifying that Angular is supported right now. Based on issue #178, it sounds like React might be supported in the future. Is that something being considered? Thank you! |
Issue with JHipster Entity Audit and Angular FrameworkI created a JHipster project using the Angular framework and ran jhipster-entity-audit. After executing the command, I noticed that the files it changed were the same as when using the React framework. I’m unsure if this behavior is normal or if something is wrong with my environment.
However, in v5.8.0, this question is no longer being asked. Is this a change in the newer version? If so, please guide me on what has changed and how I can verify that auditing is correctly configured in my Angular-based JHipster project. JHipster infoWARNING! Since JHipster v8, the jhipster command will not use the locally installed generator-jhipster.
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║ (node:96353) [DEP0040] DeprecationWarning: The
JHipster configuration, a
|
Overview of the issue
The generator-jhipster-entity-audit blueprint does not generate the createdBy, createdDate, lastModifiedBy, and lastModifiedDate fields when used with JHipster v8.8.0. This issue occurs for both the generated Java entities and the database schema.
JHipster info
WARNING! Since JHipster v8, the jhipster command will not use the locally installed generator-jhipster.
If you want to execute the locally installed generator-jhipster, run: npx jhipster
INFO! No custom commands found within blueprint: generator-jhipster-entity-audit at /Users/yuchilai/Projects/Test/aud1t-test/node_modules/generator-jhipster-entity-audit
██╗ ██║ ██╔═══██║ ██║ ██╔════╝ ╚═══██╗ ██║ ██╔═══╝ ██╔══██║
╚██████╔╝ ██║ ██║ ████████╗ ██║ ██████╔╝ ██║ ████████╗ ██║ ╚██╗
╚═════╝ ╚═╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══════╝ ╚═╝ ╚═╝
https://www.jhipster.tech
Welcome to JHipster v8.8.0
(node:55624) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)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.9" 2023-10-17
OpenJDK Runtime Environment Temurin-17.0.9+9 (build 17.0.9+9)
OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (build 17.0.9+9, mixed mode)
git version 2.47.1
node: v22.12.0
npm: 10.9.0
Docker version 27.3.1, build ce12230
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!
List of Changed Files
Below are the specific files that were changed during the process (23 files):
1. src/main/webapp/i18n/en/entity-audit.json
2. src/main/webapp/i18n/zh-cn/entity-audit.json
3. src/main/webapp/i18n/zh-tw/entity-audit.json
4. src/main/webapp/i18n/es/entity-audit.json
5. src/test/java/com/mycompany/myapp/web/rest/RegionResourceIT.java
6. src/test/java/com/mycompany/myapp/web/rest/LocationResourceIT.java
7. src/test/java/com/mycompany/myapp/web/rest/TaskResourceIT.java
8. src/test/java/com/mycompany/myapp/web/rest/EmployeeResourceIT.java
9. src/test/java/com/mycompany/myapp/web/rest/JobResourceIT.java
10. src/test/java/com/mycompany/myapp/web/rest/JobHistoryResourceIT.java
11. src/main/webapp/app/entities/menu.tsx
12. src/main/webapp/app/entities/routes.tsx
13. src/main/webapp/app/entities/task/task-update.tsx
14. src/main/webapp/app/entities/task/task-reducer.spec.ts
15. src/main/webapp/app/entities/employee/employee-detail.tsx
16. src/main/webapp/app/entities/employee/employee.tsx
17. src/main/webapp/app/entities/employee/employee.reducer.ts
18. src/main/webapp/app/entities/employee/index.tsx
19. src/main/webapp/app/shared/model/employee.model.ts
20. src/main/webapp/app/entities/employee/employee-delete-dialog.tsx
21. src/main/webapp/app/entities/employee/employee-update.tsx
22. src/main/webapp/app/entities/employee/employee-reducer.spec.ts
23. src/test/javascript/cypress/e2e/entity/region.cy.ts
The text was updated successfully, but these errors were encountered: