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

Error triggerred during display preferences E2E tests #18177

Open
cedric-anne opened this issue Oct 31, 2024 · 0 comments · May be fixed by #18184
Open

Error triggerred during display preferences E2E tests #18177

cedric-anne opened this issue Oct 31, 2024 · 0 comments · May be fixed by #18184
Assignees

Comments

@cedric-anne
Copy link
Member

E2E tests related to display preferences are triggerring a Update would change too many rows! error.

I detected it while working on #18151. Here is the complete stack trace (generated with changes made in #18151):

[2024-10-31 12:19:16] glpiphplog.CRITICAL:   *** Uncaught Exception RuntimeException: Update would change too many rows! in /var/www/glpi/src/DBmysql.php at line 1504
  Backtrace :
  src/DBmysql.php:1491                               DBmysql->buildUpdateOrInsert()
  src/DisplayPreference.php:264                      DBmysql->updateOrInsert()
  ajax/displaypreference.php:58                      DisplayPreference->updateOrder()
  ...Glpi/Controller/LegacyFileLoadController.php:59 require()
  vendor/symfony/http-kernel/HttpKernel.php:101      Glpi\Controller\LegacyFileLoadController->Glpi\Controller\{closure}()
  ...ymfony/http-foundation/StreamedResponse.php:106 Symfony\Component\HttpKernel\HttpKernel::Symfony\Component\HttpKernel\{closure}()
  vendor/symfony/http-foundation/Response.php:423    Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
  src/Glpi/Kernel/Kernel.php:255                     Symfony\Component\HttpFoundation\Response->send()
  public/index.php:58                                Glpi\Kernel\Kernel->sendResponse()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants