Closed GeraldScott closed 3 years ago
Hi @GeraldScott I can confirme that the message does exist. Let me explain why. This generator is a blueprint, it will be called aside JHipster and override some existing generators. In the meantime, the JHipster generator will continue to do his job where our Blueprint do not.
In this case, the language generator tries to update a MailServiceIT.java file to add the selected languages. Because with Quarkus we did not have added this file, an error message is logged.
For me it's not a blocking problem and I see many ways to fix it:
IMO both first and second options are a bit weird and we should improve our test coverage instead.
We should a new class test named MaiServiceIT.java (https://github.com/jhipster/generator-jhipster/blob/main/generators/server/templates/src/test/java/package/service/MailServiceIT.java.ejs).
And it have to contains the needle https://github.com/jhipster/generator-jhipster/blob/main/generators/server/templates/src/test/java/package/service/MailServiceIT.java.ejs#L87
Describe the bug If support for internationalization support is enabled, the blueprint generates an error after the Git repository has been initialized, as follows:
The error occurs when you select one or more languages for internationalization.
To Reproduce Install generator-jhipster and generator-jhipster-quarkus
Generate application:
Expected behavior Application should be generated without error messages.
Version JHipster: 6.10.1 jhipster-quarkus 0.1.6
.yo-rc.json