Skip to content
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

Multiple entries: Incomplete results for api/activityEntries #1766

Open
2 tasks done
Shiroizu opened this issue Jun 6, 2024 · 0 comments
Open
2 tasks done

Multiple entries: Incomplete results for api/activityEntries #1766

Shiroizu opened this issue Jun 6, 2024 · 0 comments
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

Comments

@Shiroizu
Copy link
Member

Shiroizu commented Jun 6, 2024

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

total count edit event entry type
580360 Created Song
109101 Created Artist
25953 Created Album
4555 Created Tag
6019 Created ReleaseEvent
379 Created SongList
331 Created Venue
0 Created ReleaseEventSeries
826088 Updated Song
134087 Updated Artist
65347 Updated Album
15911 Updated Tag
12706 Updated ReleaseEvent
2601 Updated SongList
304 Updated Venue
0 Updated ReleaseEventSeries
1692 Deleted Song
641 Deleted Artist
0 Deleted Album
0 Deleted Tag
0 Deleted ReleaseEvent
0 Deleted SongList
0 Deleted Venue
0 Deleted ReleaseEventSeries

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 strikethroughs or leave fields empty if you don't know or are unable to check/test.

  • Searched VocaDB/vocadb for duplicate issues.
  • Tested on the beta site.
  • [ ] 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).
@Shiroizu Shiroizu assigned Shiroizu and unassigned Shiroizu Jun 6, 2024
@Shiroizu Shiroizu added priority: low Issues/Tasks that are not so important moderation Moderator or trusted user actions/tasks API API (Application Programming Interface): REST (Representational state transfer) entry-activity Entry activities/changes to entries, Entry reports labels Jun 6, 2024
@andreoda andreoda added the complexity: unknown Unknown days of work label Jun 7, 2024
@andreoda andreoda added the admin Admin actions/tasks label Jun 7, 2024
@Shiroizu Shiroizu added the bug/error Bugs and errors (timeout) label Jun 29, 2024
@andreoda andreoda changed the title Incomplete results for api/activityEntries Multiple entries: Incomplete results for api/activityEntries Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Development

No branches or pull requests

2 participants