Closed fdelbrayelle closed 4 years ago
When generating a new Kafka configuration, the next lines in application.yml after the kafka: block are erased.
application.yml
kafka:
This is a critical bug as it could erase major configuration in application.yml.
yo jhipster-kafka
The used regex to match the kafka: block does not seem to be good as it takes the next line as well:
/kafka:\n((\s.+)\n)+/g
6.8.0
fixed
Overview of the issue
When generating a new Kafka configuration, the next lines in
application.yml
after thekafka:
block are erased.Motivation for or Use Case
This is a critical bug as it could erase major configuration in
application.yml
.Reproduce the error
yo jhipster-kafka
and select any prompt values.application.yml
next lines after thekafka:
block.Suggest a Fix
The used regex to match the
kafka:
block does not seem to be good as it takes the next line as well:JHipster Version(s)
6.8.0