replaysMike / Binner

Open source parts inventory system for makers, electronics hobby, and professional engineers
https://binner.io
GNU General Public License v3.0
268 stars 41 forks source link

Inventory pages for part numbers with '/' characters will not load #14

Closed travisolbrich closed 1 year ago

travisolbrich commented 4 years ago

I have a part that I created with a partNumber of LMC662CN/NOPB. This part shows up in lists however clicking on it brings me to a blank page. No request is made to the API. If I directly request this part from the API I get a valid response.

image

travisolbrich commented 4 years ago

I was able to invoke the API to change the part number to use a dash instead of a slash and the UI works correctly with the change.

This part number came in like this from a Mouser import.

replaysMike commented 2 years ago

I'm surprised Mouser would allow a part with '/' in it, however I'm going to start encoding these part names for these odd situations. Obviously the '/' will mess with browser routing and this was never taken into consideration.

funkyflashfive commented 2 years ago

Just ran in to this same issue with LM741CN/NOPB

replaysMike commented 1 year ago

Fixed in 2.0.77

rebelonion commented 1 year ago

I just had this issue on binner.io part: RMC1/10-221JTP, imported from Mouser api clicking on part redirects to https://binner.io/inventory/RMC1/10-221JTP https://binner.io/inventory/RMC1%2F10-221JTP loads the correct page

replaysMike commented 1 year ago

Hi @rebelonion - thanks! It seems to be an issue on the cloud service and not affecting the open source installation. I will tag this as a new issue and deploy a fix right away.

replaysMike commented 1 year ago

Moved to issue #164 and will track from there.