Open goodtune opened 6 days ago
Some useful example data to try and reproduce in a test case:
Exception Type: TypeError at /admin/fixja/competition/1/seasons/53/division/232/stage/472/match/7616/
Exception Value: Missing required parameter "id"
Raised during: tournamentcontrol.competition.admin.edit_match
Request information:
USER: Gary Reynolds
GET: No GET data
POST:
csrfmiddlewaretoken = 'QEtdZJDHuF0AU3Lghk7w0nkN5K3gjkXNi1ZbVlJ3NkZnzTsQNe6ttGjWbR5twwsZ'
stage_group = '129'
home_team = '1296'
away_team = '1297'
referees = '523'
label = ''
round = '1'
date = '15/07/2024'
include_in_ladder = '1'
live_stream = '0'
live_stream_thumbnail = ''
This is for the second failure mode.
Curiously, there were multiple referees added in the UI - not sure why the data shows referees = '523'
(i.e. a single entry)?
We have a regression - when trying to perform referee appointments on a match, there are issues in two states.
Firstly, when the Season is set as
live_stream=False
and has no YouTube configuration, thevideos
field is shown on theedit_match
form; but it is required. Trying to add referees will fail at the UI because the requiredness of the form field will block the submission.The second is when you turn
live_stream=True
; while the form will adapt and stop showing thevideos
field, it throws an exception on submission: