offspot / imager-service

Create Kiwix Hotspot microSD cards online
https://imager.kiwix.org/
GNU General Public License v3.0
13 stars 6 forks source link

Unable to create config with branding #356

Open rgaudin opened 8 months ago

rgaudin commented 8 months ago

When creating a new config, we can set all its information before hitting the save (Update) button and only at that moment will it be saved. If setting a branding image before the configuration has ever been saved, an HTTP 500 is raised.

This happens because we:

The file validation mechanism (step2) triggers a save to DB which failed because there's no owner at that time