Steps to reproduce:
Two scenarios.
Scenario 1 removing any input from the Date field and attempting save
- On commons beta Special:UploadWiard start uploading a file.
- In the Describe step remove an automatically populated date from the Date field or you may enter selected date and then remove you input entirely.
- Click on Publish files
Scenario 2
- On commons beta Special:UploadWiard start uploading a file. Choose "someone else's work" and fill in all required fields.
- In the Describe step - the Date field will be blank (by design). Fill in Title and Caption fields, leave blank Date field.
- Click on Publish files
What happens:
- the Console displays
jQuery.Deferred exception: Cannot read properties of undefined (reading 'value') TypeError: Cannot read properties of undefined (reading 'value')
(for the Scenario 2)
Query.Deferred exception: Cannot read properties of undefined (reading 'top') TypeError: Cannot read properties of undefined (reading 'top')
- Above the Publish button the error message is displayed, but there will be no indication that the Date field has an error
Note: the Console Type error is not present in commons wmf.12