Synchronize with generator-jhipster master / v6.9.0
pascalgrimaud opened this issue · 13 comments
Some work to do:
- fix enums
- fix some strange eslint error / prettier
- fix flaky e2e tests
- update login regex - see jhipster/generator-jhipster#11729
- bug with LocalDate - jhipster/generator-jhipster#11734
- do the release
I'll add more items soon
Work already started here: #604
Maybe it's not flaky e2e tests, as it always failed for the same entities. And only in prod profile.
Here one of them:
FieldTestEntity e2e test
✓ should load FieldTestEntities
Create flow
✓ should load create FieldTestEntity page
✓ should create and save FieldTestEntities (6359ms)
Details, Update, Delete flow
✓ should load details FieldTestEntity page and fetch data
2020-05-08 09:03:33.006 ERROR 9244 --- [ XNIO-1 task-2] o.h.e.jdbc.batch.internal.BatchingBatch : HHH000315: Exception executing batch [java.sql.BatchUpdateException: java.lang.NullPointerException], SQL: update field_test_entity set big_decimal_max_tom=?, big_decimal_min_tom=?, big_decimal_required_tom=?, boolean_required_tom=?, boolean_tom=?, byte_any_maxbytes_tom=?, byte_any_maxbytes_tom_content_type=?, byte_any_minbytes_tom=?, byte_any_minbytes_tom_content_type=?, byte_any_required_tom=?, byte_any_required_tom_content_type=?, byte_any_tom=?, byte_any_tom_content_type=?, byte_image_maxbytes_tom=?, byte_image_maxbytes_tom_content_type=?, byte_image_minbytes_tom=?, byte_image_minbytes_tom_content_type=?, byte_image_required_tom=?, byte_image_required_tom_content_type=?, byte_image_tom=?, byte_image_tom_content_type=?, byte_text_required_tom=?, byte_text_tom=?, double_max_tom=?, double_min_tom=?, double_required_tom=?, duration_required_tom=?, duration_tom=?, enum_required_tom=?, enum_tom=?, float_max_tom=?, float_min_tom=?, float_required_tom=?, float_tom=?, instant_required_tom=?, instant_tom=?, integer_max_tom=?, integer_min_tom=?, integer_required_tom=?, integer_tom=?, local_date_required_tom=?, local_date_tom=?, long_max_tom=?, long_min_tom=?, long_required_tom=?, long_tom=?, number_pattern_required_tom=?, number_pattern_tom=?, string_maxlength_tom=?, string_minlength_tom=?, string_pattern_tom=?, string_required_tom=?, string_tom=?, uuid_required_tom=?, uuid_tom=?, zoned_date_time_required_tom=?, zoned_date_time_tom=? where id=?
2020-05-08 09:03:33.013 WARN 9244 --- [ XNIO-1 task-2] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: S1000
2020-05-08 09:03:33.013 ERROR 9244 --- [ XNIO-1 task-2] o.h.engine.jdbc.spi.SqlExceptionHelper : java.lang.NullPointerException
1) should load edit FieldTestEntity page, fetch data and update
2) "after all" hook: ret for "should load edit FieldTestEntity page, fetch data and update"
Use constant for login regex from jhipster/generator-jhipster#11729 to be applied on b15ceb1
Thanks @DanielFran, I added it in the list
I added a new problem I found:
- generate an entity with LocalDate
- create an entry -> OK
- update the entry -> KO
Ok, the bug with LocalDate comes from the backend, and is not related to Vue.js
Vue.js blueprint detected it because there are some e2e tests with update
@atomfrede : there is a last item about login regexp. Do you have time to have a look ? If not, I can try to do the same than jhipster/generator-jhipster#11729
Just merged this #615
Waiting the last login regexp and we will be able to release a new version of Vue.js blueprint
Will do. Sorry totally forgot to port it here.
Putting a bounty on this, for all the work done here.
@atomfrede : as discussed together, we'll share it
Just did some tests, now, I'm going to do the release
The sample has been updated too: https://github.com/jhipster/jhipster-sample-app-vuejs
Half of the bounty claimed at https://opencollective.com/generator-jhipster/expenses/18514
Don't forget yours, @atomfrede
Thank you very much @pascalgrimaud As always a pleasure to work with you!
Other half claimed at https://opencollective.com/generator-jhipster/expenses/18529