jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.51k stars 4.02k forks source link

React + MongoDB + Protractor : e2e broken #14100

Closed pascalgrimaud closed 3 years ago

pascalgrimaud commented 3 years ago

See:

mraible commented 3 years ago

This appears to be a real issue. If I recreate the react-mongodb sample locally and run the e2e tests, the input box for the ID field is rendered and nothing is put in it. The error on the server is:

2021-03-01 22:06:26.315 ERROR 46387 --- [  XNIO-1 task-1] tech.jhipster.web.util.HeaderUtil        : Entity processing failed, A new place cannot already have an ID
2021-03-01 22:06:26.316  WARN 46387 --- [  XNIO-1 task-1] o.z.problem.spring.common.AdviceTraits   : Bad Request: A new place cannot already have an ID
2021-03-01 22:06:26.317  WARN 46387 --- [  XNIO-1 task-1] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [https://www.jhipster.tech/problem/problem-with-message{400, A new place cannot already have an ID, message=error.idexists, params=testRootPlace}]
mraible commented 3 years ago

If I change .yo-rc.json to use Angular, everything passes locally.

Screen Shot 2021-03-01 at 10 24 35 PM

Does that mean Angular is better than React? 😜

BTW, running ./mvnw multiple times w/o changes still seems to rebuild the frontend each time.