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

[BUG]: APIv2 including not working correctly #1143

Open
jessevz opened this issue Nov 29, 2024 · 1 comment
Open

[BUG]: APIv2 including not working correctly #1143

jessevz opened this issue Nov 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working server Hashtopolis API/Server related

Comments

@jessevz
Copy link
Contributor

jessevz commented Nov 29, 2024

Version Information

0.14.3

Hashcat

No response

Description

when doing a get many include api call it seems that only the last element will have the inlcude data. Also when multiple elements have the same included data, the included section will have duplicate elements. This should be reduced to only unique values.

For example this api call: http://localhost:8080/api/v2/ui/agents?maxResults=3&include=accessGroups

only the last element have the included accesgroups and the included section will have the same accesgroup three times.

@jessevz jessevz added the bug Something isn't working label Nov 29, 2024
@jessevz jessevz changed the title [BUG]: APIv2 inlcluding not working correctly [BUG]: APIv2 including not working correctly Nov 29, 2024
@gluafamichl
Copy link
Contributor

Sounds a little bit like the ManyToMany problem this PR solves: #1115

@jessevz jessevz added the server Hashtopolis API/Server related label Dec 9, 2024
@github-project-automation github-project-automation bot moved this to To triage in 🐛 Bug Tracker Jan 8, 2025
@jessevz jessevz moved this from To triage to Ready in 🐛 Bug Tracker Jan 8, 2025
@jessevz jessevz moved this from 📝 Todo to 🚧 In progress in 🍺 Sprint January '25 Jan 23, 2025
@jessevz jessevz mentioned this issue Jan 23, 2025
@jessevz jessevz moved this from 🚧 In progress to 🧐 Review in 🍺 Sprint January '25 Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server Hashtopolis API/Server related
Projects
Status: 📝 Todo
Status: 🧐 Review
Status: Ready
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants