You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-02-20 08:21:06

acz
Member
Registered: 2023-02-20
Posts: 1

Create a ticket, assigning a responsible user reloaded page

Hi,

I have a problem with assigning a responsible user to ticket. Sometimes when creating an application and assigning a user to a task, the page reloads and logs me out of glpi. Often redirected to url domain.com/index.php?error=3

The cookie in glpi session duration is set to 2 days.
Has anyone encountered such a problem?

220017527-9cbbb1ae-6e99-4928-8006-03dcf5fe1c7d.png

Offline

#2 2023-05-13 02:38:45

webmastergreg
Member
Registered: 2010-09-23
Posts: 131
Website

Re: Create a ticket, assigning a responsible user reloaded page

hi,

yes same bug as yours with v10.0.7


GLPI 10.0.7 / LSWS Enterprise 6.1.2 + PHP 8.1.25 with Zend OPcache + MariaDB 10.3.39  / CENTOS 7.9

Offline

#3 2023-05-13 17:42:37

webmastergreg
Member
Registered: 2010-09-23
Posts: 131
Website

Re: Create a ticket, assigning a responsible user reloaded page

perhaps this is related
[2023-05-13 15:32:01] glpiphplog.WARNING:   *** PHP Warning (2): Trying to access array offset on value of type null in /home/public_html/GLPI/src/Session.php at line 1642
  Backtrace :
  src/Session.php:1589                               Session::cleanIDORTokens()
  src/Dropdown.php:2587                              Session::validateIDOR()
  src/Dropdown.php:255                               Dropdown::getDropdownValue()
  src/CommonDBTM.php:4097                            Dropdown::show()
  ...ication/View/Extension/ItemtypeExtension.php:99 CommonDBTM::dropdown()
  ...es/3d/3d425a06f65cc1415b1dd4fd08265bae.php:2363 Glpi\Application\View\Extension\ItemtypeExtension->getItemtypeDropdown()
  .../twig/twig/src/Extension/CoreExtension.php:1226 __TwigTemplate_38515b77b80586e2d9f9802925f77f85->macro_dropdownField()
  ...tes/3b/3b98c357e70cf2dc40746611b7588fb8.php:332 twig_call_macro()
  vendor/twig/twig/src/Template.php:394              __TwigTemplate_3df7675b13ea7ef93b465812cb9cd53a->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:1347 Twig\TemplateWrapper->render()
  ...tes/69/6915942e0b66718e330fc6351ade1884.php:152 twig_include()
  vendor/twig/twig/src/Template.php:394              __TwigTemplate_1059da8290047514be34a38300ed86fe->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:179      Twig\TemplateWrapper->display()
  src/Ticket.php:4405                                Glpi\Application\View\TemplateRenderer->display()
  src/CommonGLPI.php:676                             Ticket->showForm()
  ajax/common.tabs.php:116                           CommonGLPI::displayStandardTab()
  public/index.php:73                                require()


GLPI 10.0.7 / LSWS Enterprise 6.1.2 + PHP 8.1.25 with Zend OPcache + MariaDB 10.3.39  / CENTOS 7.9

Offline

#4 2023-05-16 11:55:13

webmastergreg
Member
Registered: 2010-09-23
Posts: 131
Website

Re: Create a ticket, assigning a responsible user reloaded page


GLPI 10.0.7 / LSWS Enterprise 6.1.2 + PHP 8.1.25 with Zend OPcache + MariaDB 10.3.39  / CENTOS 7.9

Offline

#5 2023-06-07 11:04:33

webmastergreg
Member
Registered: 2010-09-23
Posts: 131
Website

Re: Create a ticket, assigning a responsible user reloaded page

OWASP CRS v3.x for ModSec 2.9 is involved.
So I finally found clues in the logs, which led me to define exceptions for certain rules according to specific queries.
For those who are interested, here are the rules concerned:

  • 921110

  • 941130


GLPI 10.0.7 / LSWS Enterprise 6.1.2 + PHP 8.1.25 with Zend OPcache + MariaDB 10.3.39  / CENTOS 7.9

Offline

Board footer

Powered by FluxBB