Donkie / Spoolman

Keep track of your inventory of 3D-printer filament spools.
MIT License
757 stars 77 forks source link

Adding an Extra Field under the Filament section in Settings caused this Extra area to stop working with a white screen for just the filament extras under Settings. #370

Closed jason120721 closed 3 weeks ago

jason120721 commented 1 month ago

Describe the bug I added 2 "Extra" fields under the Settings Extras for Filaments. I added a hex_color_code and a speed_range field on float. After adding the speed_range I wanted to go back into the Extras Fields under settings to look at my extra fields and to change the speed_range to integer but whenever I go back to the Settings for Extras for filament it goes to a white screen in my browser whether I'm using Safari or Chrome.

To Reproduce Steps to reproduce the behavior: Not sure if I can reproduce. All I did is what I explained above.

Expected behavior I expected to be able to back to the Settings, Extras, filament and add/remove extra fields. I can still do this for Spools and Vendors but not for Filament anymore based on what I described above.

**

Screenshot 2024-05-07 at 11 51 38 AM

Screenshots**

Spoolman Host (please complete the following information):

Desktop (please complete the following information):

Additional context The new field I added for Filament does show the speed_range under the filament section and I can add data into these fields and that data is displayed I just can't edit the actual fields for filament anymore under the Settings sections after adding the speed_range float extra field (which I added after I added a hex_color_code text field to Filament.

Donkie commented 1 month ago

Tried creating fields like you mentioned but can't reproduce. Could you open your browser console and show me all errors that appear when you're sent to this white screen? In Chrome it's F12 to open the console. Errors look something like this: image

jason120721 commented 1 month ago

I think these are the screenshots you requested. Hope they help. If you need something sales let me know.

Screenshot of error messages without any of the new field filed-in on any filaments… 

Screenshot after entering data in the extra field on 1 filament… 

On May 15, 2024, at 2:27 PM, Donkie @.***> wrote:

Tried creating fields like you mentioned but can't reproduce. Could you open your browser console and show me all errors that appear when you're sent to this white screen? In Chrome it's F12 to open the console. Errors look something like this: image.png (view on web) https://github.com/Donkie/Spoolman/assets/2332094/6b4f9e3c-4a4c-452e-afb1-d4fe33cc80a0 — Reply to this email directly, view it on GitHub https://github.com/Donkie/Spoolman/issues/370#issuecomment-2113176902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXAOC7TJ7J4SHP3SFZEN2V3ZCOSH5AVCNFSM6AAAAABHLJDTQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTGE3TMOJQGI. You are receiving this because you authored the thread.

Donkie commented 1 month ago

I think these are the screenshots you requested. Hope they help. If you need something sales let me know. Screenshot of error messages without any of the new field filed-in on any filaments…  Screenshot after entering data in the extra field on 1 filament…  On May 15, 2024, at 2:27 PM, Donkie @.***> wrote: Tried creating fields like you mentioned but can't reproduce. Could you open your browser console and show me all errors that appear when you're sent to this white screen? In Chrome it's F12 to open the console. Errors look something like this: image.png (view on web) https://github.com/Donkie/Spoolman/assets/2332094/6b4f9e3c-4a4c-452e-afb1-d4fe33cc80a0 — Reply to this email directly, view it on GitHub <#370 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXAOC7TJ7J4SHP3SFZEN2V3ZCOSH5AVCNFSM6AAAAABHLJDTQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTGE3TMOJQGI. You are receiving this because you authored the thread.

Your screenshots doesn't seem to work