Bug 51225 - Error message "Die Anfrage enthält keine Schule"
Error message "Die Anfrage enthält keine Schule"
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-05 15:34 CEST by Sönke Schwardt-Krummrich
Modified: 2020-05-05 15:45 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.229
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Error message (76.52 KB, image/png)
2020-05-05 15:34 CEST, Sönke Schwardt-Krummrich
Details
HTTP/UMCP Request (90.40 KB, image/png)
2020-05-05 15:35 CEST, Sönke Schwardt-Krummrich
Details
HTTP/UMCP Request Arguments (58.07 KB, image/png)
2020-05-05 15:35 CEST, Sönke Schwardt-Krummrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2020-05-05 15:34:47 CEST
Created attachment 10344 [details]
Error message

During a QA session, I was not able to create a new exam. When searching for classes to select the exam participants, the attached error message was shown.
As long as the browser session existed, this was reproducible.

It looks like the UMCP command schoolexam/groups has not been called correctly by the browser (argument school was empty) → see screenshots.

Therefore the error from the backend was correct.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2020-05-05 15:35:16 CEST
Created attachment 10345 [details]
HTTP/UMCP Request
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2020-05-05 15:35:46 CEST
Created attachment 10346 [details]
HTTP/UMCP Request Arguments
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2020-05-05 15:37:36 CEST
Tested with UCS@school 4.4v5. This was still reproducible after a UMC server restart. But after reloading the UMC in the browser, the problem was gone.
Comment 4 Florian Best univentionstaff 2020-05-05 15:45:46 CEST
It's most often a race condition in the javascript files, which produces this.
Wrong deferred handling, etc.