Skip to content

Error 500 when loading part with empty distributor field

Created by: marklinmax

Describe the bug When setting a part with purchasing information, if the distributor field is empty, the operation will succeed, but trying to load the part again after this will throw an error 500.

To Reproduce Create a new part or modify one to set ordering information. Leave the distributor field empty and save. Try to load the part again.

Server Side

  • Part-DB Version: docker hub latest
  • Database Server Mariadb latest

Desktop (please complete the following information):

  • Browser Firefox

Either the fetch needs to be protected in case of empty fields, or the problematic fields should never be allowed to be empty.