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: List Collections not working #9745

Closed
1 task done
elvidence opened this issue May 20, 2024 · 1 comment
Closed
1 task done

Bug: List Collections not working #9745

elvidence opened this issue May 20, 2024 · 1 comment
Assignees
Labels
T: potential bug Type: potential bug. This issue may be a bug

Comments

@elvidence
Copy link

Actual behavior

https://misp/collections/index should list collections but instead produce "An Internal Error Has Occurred.
Error: An Internal Error Has Occurred. Please try your action again. If the problem persists, please contact administrator."

This behaviour is related to the latest v2.4.192, older version v2.4.189 worked fine

Expected behavior

https://misp/collections/index should display collections and elements correctly.

Steps to reproduce

Installed 2.4.189 - works
Upgraded to 2.4.192 - error

Version

2.4.192

Operating System

Ubuntu

Operating System version

22.04

PHP version

7.4

Browser

Firefox, Chrome

Browser version

Latest

Relevant log output

Error: [RuntimeException] Invalid controller 'collection' specified.
Request URL: /collections/index
Stack Trace:
#0 /var/www/MISP/app/View/Helper/AclHelper.php(34): ACLComponent->canUserAccess()
#1 /var/www/MISP/app/View/Elements/genericElements/SideMenu/side_menu.ctp(369): AclHelper->canAccess()
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(971): include('/var/www/MISP/a...')
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(933): View->_evaluate()
#4 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(1224): View->_render()
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(418): View->_renderElement()
#6 /var/www/MISP/app/View/Elements/genericElements/IndexTable/scaffold.ctp(11): View->element()
#7 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(971): include('/var/www/MISP/a...')
#8 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(933): View->_evaluate()
#9 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(1224): View->_render()
#10 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(418): View->_renderElement()
#11 /var/www/MISP/app/View/Collections/index.ctp(89): View->element()
#12 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(971): include('/var/www/MISP/a...')
#13 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(933): View->_evaluate()
#14 /var/www/MISP/app/Lib/cakephp/lib/Cake/View/View.php(473): View->_render()
#15 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(968): View->render()
#16 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(200): Controller->render()
#17 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#18 /var/www/MISP/app/webroot/index.php(101): Dispatcher->dispatch()
#19 {main}

Extra attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@elvidence elvidence added the needs triage This issue has been automatically labelled and needs further triage label May 20, 2024
@adulau adulau added T: potential bug Type: potential bug. This issue may be a bug and removed needs triage This issue has been automatically labelled and needs further triage labels May 22, 2024
@iglocska
Copy link
Member

Thanks, should be fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: potential bug Type: potential bug. This issue may be a bug
Projects
None yet
Development

No branches or pull requests

3 participants