Closed tomudding closed 5 months ago
To make uploading photos easier, it is not mandatory to add a start/end datetime to newly created albums. However, this breaks the upload as the start datetime is actually necessary:
https://github.com/GEWIS/gewisweb/blob/637a3da6530f3b5702f417f5cc72f539bdee25e6/module/Photo/src/Controller/AlbumAdminController.php#L204
Do not return a year when it is not defined.
Create an album without setting a start datetime, try to upload photos.
637a3da6530f3b5702f417f5cc72f539bdee25e6
No response
Originally reported by the IAO.
Current behaviour
To make uploading photos easier, it is not mandatory to add a start/end datetime to newly created albums. However, this breaks the upload as the start datetime is actually necessary:
https://github.com/GEWIS/gewisweb/blob/637a3da6530f3b5702f417f5cc72f539bdee25e6/module/Photo/src/Controller/AlbumAdminController.php#L204
Desired behaviour
Do not return a year when it is not defined.
Steps to reproduce
Create an album without setting a start datetime, try to upload photos.
Website version
637a3da6530f3b5702f417f5cc72f539bdee25e6
What operating are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Other information
Originally reported by the IAO.