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: Audit logs from event only showing 1st page #9726

Open
1 task done
niels-ccb opened this issue May 6, 2024 · 0 comments
Open
1 task done

Bug: Audit logs from event only showing 1st page #9726

niels-ccb opened this issue May 6, 2024 · 0 comments
Labels
T: bug Type: bug report: This issue describes unexpected behaviour UI This issue involves the user interface

Comments

@niels-ccb
Copy link

niels-ccb commented May 6, 2024

Actual behavior

When requesting the second page of audit logs on an event, the following link is called:
MISP-INSTANCE/audit_logs/eventIndex/eventId:EVENT-ID/page:2

Expected behavior

Removing the text "eventId:" resolves this issue and shows the second page of audit logs:
MISP-INSTANCE/audit_logs/eventIndex/EVENT-ID/page:2

Steps to reproduce

Go to the audit logs of an events and request a page of audit logs, other than the first page
(When the url is manually fixed and shows the 2nd page, the link to navigate to other pages are also wrong:
MISP-INSTANCE/audit_logs/eventIndex/page:4/eventId:EVENT-ID
-> The page parameter is shown in the resource path before the event-id)

Version

2.4.191

Operating System

Ubuntu

Operating System version

22.04.4 LTS

PHP version

7.4.33

Browser

Firefox

Browser version

125.0.3

Relevant log output

No response

Extra attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@niels-ccb niels-ccb added the needs triage This issue has been automatically labelled and needs further triage label May 6, 2024
@mokaddem mokaddem added T: bug Type: bug report: This issue describes unexpected behaviour UI This issue involves the user interface and removed needs triage This issue has been automatically labelled and needs further triage labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug Type: bug report: This issue describes unexpected behaviour UI This issue involves the user interface
Projects
None yet
Development

No branches or pull requests

2 participants