-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Registry search with Author fails #514
Comments
I don't see this being covered in the tests either, so in addition to fixing the bug we'll need to make sure that the search constraint are better tested |
Looks like a missing |
On Tue, Jan 23, 2024 at 12:17:16AM -0800, Manon Marchand wrote:
Looks like a missing `self._extra_tables = ["rr.res_role"]` in the
init of the Author constraint.
Exactly -- that extra table admittedly is not tested, and it clearly
should. Manon -- do you want to prepare the PR since it's really your
fix? I'm terribly busy right until Thursday and might make a hash of
it...
Do you think these should be remote tests?
We *really* don't want lots of remote tests for these to be run on
every test run; we had the question of perhaps creating an extra big
test suite to be run before releases already a while ago, but that's
again a question of who will write it.
On the other hand, one integration-type test that has all the
constraints, runs the query and checks that there's no error might be
a good way to prevent further stupid bugs like these. I'd take a bug
to that effect on me.
|
Hi Markus, |
Should be ok with the PR? Thanks for reporting this issue @zoghbi-a ! 🙂 |
An author-based query for the registry like this:
gives:
isn't his how the author search meant to work?
The text was updated successfully, but these errors were encountered: