partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.39k stars 402 forks source link

Add a pdf url as a part attachment freezes UI #1121

Open G-Pereira opened 4 years ago

G-Pereira commented 4 years ago

Bug description

Adding a pdf url as a part attachment fails. Example url: https://www.ti.com/lit/ds/symlink/tps566235.pdf

Steps to reproduce

  1. Create/Edit part
  2. Add a new attachment
  3. Choose URL way and use any pdf url
  4. click OK

Expected Behaviour

Window disappears and the pdf is added to the attachment list

Current Behaviour

Nothing happens after clicking OK.

System Information

christianlupus commented 4 years ago

I can confirm this issue. There is a timeout issue during the post request: Screenshot_20200514_174327

christianlupus commented 4 years ago

I put it on medium priority because there is a simple workaround by downloading and reuploading manually.

christianlupus commented 4 years ago

I just by chance found #914. It might be related here.

h0m3us3r commented 3 years ago

Please merge #1165 as it solves this.