-
Notifications
You must be signed in to change notification settings - Fork 226
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
[BUG]: Incorrect display of hashlists in the super hashlist table #1109
Comments
There are two bugs:
|
From my understanding, the function getManyToOneRelationViaIntermediate() in the AbstractModelAPI should be renamed to getManyToManyRelationViaIntermediate, because we are dealing with many to many relations. A superhashlist may refer to several hashlists, but a hashlist can belong to several superhashlists.
|
Hi I am pretty sure these API issues are already fixed within the fork im working at, but it is good to test for when we are in the review phase |
The same hashlists are usually displayed, although different hashlists are assigned to each superhashlist.
In addition, the API returns incorrect entries, sometimes several hashlists are returned, although only one hashlist is assigned to the super hashlist.
API call that returns incorrect results:
http://localhost:8080/api/v2/ui/hashlists?maxResults=25&startsAt=0&expand=hashType,hashlists&filter=format=3&ordering=-_id
In the assignment table (HashlistHashlist) of the database, the hashlists are correctly assigned to the super hashlists, there are no multiple assignments.
The text was updated successfully, but these errors were encountered: