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

[GLPI 10.0.0-rc2] Saved search does not appear in the menu #11072

Closed
2 tasks done
stdglpi opened this issue Mar 22, 2022 · 2 comments
Closed
2 tasks done

[GLPI 10.0.0-rc2] Saved search does not appear in the menu #11072

stdglpi opened this issue Mar 22, 2022 · 2 comments

Comments

@stdglpi
Copy link

stdglpi commented Mar 22, 2022

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

[GLPI 10.0.0-rc2]

Bug description

Hello

When I want to add a filter with the "search" bar and try to save it, I have this error.

image
image

error on the web page :

Uncaught Exception TypeError: MassiveAction::__construct(): Argument #4 ($items_id) must be of type ?int, string given, called in C:\inetpub\wwwroot\glpi\src\CommonDBTM.php on line 5963 in C:\inetpub\wwwroot\glpi\src\MassiveAction.php at line 67

Relevant log output

[2022-03-22 15:17:55] glpiphplog.CRITICAL:   *** Uncaught Exception TypeError: MassiveAction::__construct(): Argument #4 ($items_id) must be of type ?int, string given, called in C:\inetpub\wwwroot\glpi\src\CommonDBTM.php on line 5963 in C:\inetpub\wwwroot\glpi\src\MassiveAction.php at line 67
  Backtrace :
  src\CommonDBTM.php:5963                            MassiveAction->__construct()
  ...\twig\twig\src\Extension\CoreExtension.php:1599 CommonDBTM->getMassiveActionsForItem()
  ...f7cb74cb659ac86dbe1e6651fd735d3dfe1e3fdd.php:52 twig_get_attribute()
  vendor\twig\twig\src\Template.php:394              __TwigTemplate_cad16b843ffeff65ae6383482ee864f51ecface2c70edf627f31078760d1ecc9->doDisplay()
  vendor\twig\twig\src\Template.php:367              Twig\Template->displayWithErrorHandling()
  vendor\twig\twig\src\Template.php:379              Twig\Template->display()
  vendor\twig\twig\src\TemplateWrapper.php:40        Twig\Template->render()
  ...\twig\twig\src\Extension\CoreExtension.php:1323 Twig\TemplateWrapper->render()
  ...fa35a41b1ff8a29b938984f8a654464afa8990a.php:355 twig_include()
  vendor\twig\twig\src\Template.php:394              __TwigTemplate_f80b38ddfc6ced61640ea64b17649bfb8169b0f968c74a20df65f869bc190c28->doDisplay()
  vendor\twig\twig\src\Template.php:367              Twig\Template->displayWithErrorHandling()
  vendor\twig\twig\src\TemplateWrapper.php:47        Twig\Template->display()
  src\Application\View\TemplateRenderer.php:177      Twig\TemplateWrapper->display()
  src\CommonDBTM.php:2688                            Glpi\Application\View\TemplateRenderer->display()
  src\SavedSearch.php:399                            CommonDBTM->showFormHeader()
  ajax\savedsearch.php:124                           SavedSearch->showForm()

Page URL

https://supportinfo.stid.com/front/ticket.php

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

@cedric-anne
Copy link
Member

This has been fixed. Please upgrade to GLPI 10.0.0-rc3 that has been published one hour ago.

@stdglpi
Copy link
Author

stdglpi commented Mar 23, 2022

@cedric-anne Yes, I upgraded to RC3 and I confirm.
Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants