Bug sur cursus BUT avec validation antérieure #571

Closed
opened 2023-01-20 18:11:39 +01:00 by viennet · 1 comment
Owner
File "/opt/scodoc/app/decorators.py", line 92, in decorated_function
    return f(*args, **kwargs)
  File "/opt/scodoc/app/decorators.py", line 223, in scodoc7func_decorator
    value = func(*pos_arg_values, **kwargs)
  File "/opt/scodoc/app/scodoc/sco_page_etud.py", line 464, in ficheEtud
    but_cursus = cursus_but.EtudCursusBUT(etud, last_sem.formation)
  File "/opt/scodoc/app/but/cursus_but.py", line 149, in __init__
    > sco_codes.BUT_CODES_ORDERED[previous_validation.code]
AttributeError: 'dict' object has no attribute 'code'

repro à tester sur Lyon (PB), étudiant 210. bd 2023-01-20T15:33:46.394525_GEII.gz

``` File "/opt/scodoc/app/decorators.py", line 92, in decorated_function return f(*args, **kwargs) File "/opt/scodoc/app/decorators.py", line 223, in scodoc7func_decorator value = func(*pos_arg_values, **kwargs) File "/opt/scodoc/app/scodoc/sco_page_etud.py", line 464, in ficheEtud but_cursus = cursus_but.EtudCursusBUT(etud, last_sem.formation) File "/opt/scodoc/app/but/cursus_but.py", line 149, in __init__ > sco_codes.BUT_CODES_ORDERED[previous_validation.code] AttributeError: 'dict' object has no attribute 'code' ``` repro à tester sur Lyon (PB), étudiant 210. bd 2023-01-20T15:33:46.394525_GEII.gz
viennet added this to the ScoDoc 9.4 milestone 2023-01-20 18:11:39 +01:00
viennet added the
Jury
BUT
bug
labels 2023-01-20 18:11:39 +01:00
Author
Owner

Fixed by 797686cf6c

Fixed by 797686cf6cc1cb0c990da0c904c5395334e162b7
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ScoDoc/ScoDoc#571
No description provided.