Skip to content

Moved function getSessions to listSessions in function getSessionListContent (QuizControl.php)

What does this MR do?

Moved function getSessions to listSessions in function getSessionListContent (QuizControl.php)

https://sentry.io/share/issue/4869808bd57e4d14b5ebae01b5ef2740/

Release blocking if not fixed for #747 (closed)

How confident are you it won't break things if deployed?

I can reproduce the behavior and after changing the function, as described by @jo, the behavior is no longer reproducible.

Links to related issues

!1176 (comment 268766063)

How to test

Steps a reviewer can take to verify that this MR does what it says it does e.g.

  1. Checkout branch locally
  2. Login as amb (bot)
  3. Open "Auswertung für Quiz #1-Quiz"
  4. Click to foodsaver name to open a quiz session
  5. Delete the quiz session
  6. Open "Auswertung für Quiz #1-Quiz" again

Screenshots (if applicable)

This error message is showing, if a quiz session is deleted and "Auswertung für Quiz" is reloaded: quiz-session-error

After update function getSessions to listSessions is no error showing: quiz-session-ok

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
  • Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by Johannes

Merge request reports