Author: Karsten Silz Jun 26, 2019 2 min read

Permalink: https://betterprojectsfaster.com/blog/issues-jhipster-6-0-and-6-1/

I found bugs in JHipster 6.0 and 6.1

Software bugs

Bugs in 6.0…

When I worked on the second part of my “Better Java Projects Faster with JHipster and Docker” tutorial, I found three bugs.

  • The first bug concerned a new feature in JHipster 6.0, the so-called fake data. Yeah, I know, but I didn’t call it that, the JHipster folks did! Anyway, JHipster creates random data for entities defined in your JDL file. Github issue #9721 details some ways in which that fake data was wrong and actually broke your application.
  • The next issue, #9726, was much less severe. It just describes some unnecessary Java compiler warnings during the DTO mapper generation.
  • The final issue, #9726, was more impactful again: Under admittedly rare circumstances — a relationship between two entities which was required on both sides — the Angular code for creating / updating said entities was partially broken.

…and fixes in 6.1

I can happily report that the JHipster team fixed these three bugs in JHipster 6.1.

But wait, there’s more!

Unfortunately, I found two more bugs when verifying those three issues:

  • Issue #9990 shows how JHipster generates fake data doesn’t honor the unique ID requirement of my entity.
  • Issue #9991 demonstrates what a difference a ! can make: There is one too many in the Typescript class for an Angular create / update screen, so the code goes into an else branch where it shouldn’t.

I expect issue #9991 to be fixed soon. I’m not so sure about issue #9990.

Java Tech Popularity Index Q4/2023:
Developer job ads dipped 30% in 2023. Monthly Stack Overflow questions dropped 42% since ChatGPT, with JavaScript at -56% and Python at -59%. Since June 22, Udemy's first-time Python course purchases have outpaced Java's 7.1 million to 2 million. Job ads for Quarkus and Micronaut continue to rebound.

Read my newsletter


comments powered by Disqus