albrechtjan / workload

Survey web application for TU Dresden
survey.zqa.tu-dresden.de
GNU Affero General Public License v3.0
0 stars 0 forks source link

Semester not working correcly #53

Closed KonstantinSchubert closed 8 years ago

KonstantinSchubert commented 9 years ago

Fehlermeldung Reguläres Studium bedeutet, dass nur Physik studiert wird. Robert studiert noch nebenbei Mathe (Der Pro, Baby) deshalb steht bei ihm: 6 und 11 und 21 und 4 Jonathan: Kein Gremiensemester, reguläres Studieum FS: 6, HS: 6 Anzeige: 11 und 6 Basti Kein Gremiensemster,reguläres Studium FS: 4, HS: 4 Anzeige: 11 und 4 Marius 3 Gremiensemster, reguläres Studium FS: 3, HS: 6 Anzeige: 11 und 3

KonstantinSchubert commented 9 years ago

This seems to be a bug with shibboleth. Shibboleth is also used with the OPAL portal. Here, when Kevin logs in, he sees the following screen: 2_314791854069514261

Kevin is now in the first semester of his master, before he was in the 7th semester of his bachelor. He has one Gremiensemester. The data displayed is obviously not correct.

KonstantinSchubert commented 9 years ago

So it seems that the number 11 is either wrong or I do not understand is. Also, the first semester of the master is apparently as much a "first seemster" as the first semester Bachelor.

KonstantinSchubert commented 8 years ago

I added some logging in the App's (!) backends.py which I will need to remove again after I fixed this bug.

KonstantinSchubert commented 8 years ago

I should recognize the first consecutive sequence of digits in the corresponding shibboleth attribute as the integer which describes the semester number. For example via regex.

KonstantinSchubert commented 8 years ago

Apparently the number 11 indicates the course of study. And the semester number follows the dollar sign.

KonstantinSchubert commented 8 years ago

appears to be fixed now