Repository queries with IN filters fail with empty input list [DATAES-937] #1512
Labels
Milestone
Comments
sothawo commented Oliver Drotbohm or Mark Paluch can one of you please delete that spam-attachment? I have not the rights to do so |
Oliver Drotbohm commented Done |
sothawo commented Oliver Drotbohm is it possible to block this spammer? got one of these spams again
|
Oliver Drotbohm commented I've informed the admins |
sothawo commented looking at the systems dashboard this is just happening across different projects as well. Is there a possibility to give admin rights to manage attachments only for one repository? Then I could keep this one clean |
This was referenced Dec 31, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stefan Baur opened DATAES-937 and commented
If you call
AbstractElasticsearchRepository.findAllById(new ArrayList<>())
, you get the following error:The documentation of
CrudRepository#findAllById
interface defines this:I expect this query to return an empty result and not to throw a runtime error.
This problem also applies to custom repository methods that use WhereXYIn filters like:
MyElasticRepository.findAllByNameIn(new ArrayList<>())
Affects: 4.0.4 (Neumann SR4)
Referenced from: pull request #525
Backported to: 4.0.5 (Neumann SR5), 3.2.11 (Moore SR11)
The text was updated successfully, but these errors were encountered: