Bug 31516 - Enhancement of the error handling when creating exam user accounts
Enhancement of the error handling when creating exam user accounts
Status: RESOLVED DUPLICATE of bug 34952
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 3.1
Other Linux
: P3 enhancement (vote)
: UCS@school 3.x
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-27 12:43 CEST by Alexander Kläser
Modified: 2016-12-12 10:13 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2013-05-27 12:43:42 CEST
From Bug 31158, Comment 12:
> After creating a new exam session, the UMC module reports:
> 
>    Die Vorbereitung der Klassenarbeit war erfolgreich.
> 
> but within the logfile the following errors are found (due to bug 31389):
> 
> 17.05.13 05:09:47.233  MODULE      ( WARN    ) : Could not create exam user
> account for: uid=tanja516,cn=schueler,cn=users,ou=gsmitte,dc=nstx,dc=local
> 17.05.13 05:09:47.233  MODULE      ( PROCESS ) : Vorbereitung der
> Klassenarbeitskonten - Koch, Ulrich (ulrich514)
> 17.05.13 05:09:47.397  MODULE      ( WARN    ) : Could not create exam user
> account for: uid=ulrich514,cn=schueler,cn=users,ou=gsmitte,dc=nstx,dc=local
> 
> The UMC module should show occurent errors.

The current error handling could be enhanced. Currently, the exam module ignores errors when creating exam users via the exam-master module, as an error is indicated if an exam user account already exists. It would be more helpful to return:
* success with additional information that the exam user account already exists and thus has not been created
* success if the account has been created
* error if any unexpected error happened (as mentioned in the initial comment)
Comment 1 Florian Best univentionstaff 2016-12-12 10:13:09 CET

*** This bug has been marked as a duplicate of bug 34952 ***