spring-projects / spring-data-rest

Simplifies building hypermedia-driven REST web services on top of Spring Data repositories
https://spring.io/projects/spring-data-rest
Apache License 2.0
905 stars 558 forks source link

Augmenting arrays during merge patch only appends one element #2357

Closed odrotbohm closed 5 months ago

odrotbohm commented 5 months ago

Originally reported here. Reproducer here.

Pretty simple (read: stupid) bug. We are using break inside a loop instead of a continue. That's why we only append one element.