Multiple entries: Incomplete results for api/activityEntries #1766
Labels
admin
Admin actions/tasks
API
API (Application Programming Interface): REST (Representational state transfer)
bug/error
Bugs and errors (timeout)
complexity: unknown
Unknown days of work
entry-activity
Entry activities/changes to entries, Entry reports
moderation
Moderator or trusted user actions/tasks
priority: low
Issues/Tasks that are not so important
Website (required)
VocaDB
Describe the bug (required)
The activityEntries-api returns 0 for certain combination of entry types & edit events:
https://vocadb.net/api/activityEntries?editEvent={x}&entryType={y}&getTotalCount=true&maxResults=1
Additionally, the edit event "Restored" returns 0 for all entry types: https://vocadb.net/api/activityEntries?editEvent=Restored
Expected behavior (optional)
https://vocadb.net/api/activityEntries?entryType=ReleaseEventSeries&getTotalCount=true&maxResults=1
Should return > 0 for totalcount
https://vocadb.net/api/activityEntries?editEvent=Deleted&getTotalCount=true&maxResults=1
Should return > 0 for entry types other than Song, Artist
Checklist (required)
Fill out the checklist. Use
strikethroughsor leave fields empty if you don't know or are unable to check/test.[ ] Tested on different browsers (e.g. Firefox, Chrome, Safari, Edge).[ ] Checked in private mode.[ ] Cleared browser cache and cookies.[ ] Checked the DevTools console.[ ] Checked the syslog (mods+ only).The text was updated successfully, but these errors were encountered: