1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[GH-ISSUE #413] [Bug]: SpoolWeightPicker finds spools by core_weight, not by name or ID #256

Closed
opened 2026-05-07 00:08:08 +02:00 by BreizhHardware · 0 comments

Originally created by @Keybored02 on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/413

Originally assigned to: @Keybored02 on GitHub.

Bug Description

In AdditionalSection.tsx: when editing a spool, the SpoolWeightPicker receives only the numeric core_weight value but doesn't know which catalog entry name should be associated with it. When multiple catalog entries have the same weight, the find() function returns the first match, not necessarily the one I originally selected.

Expected Behavior

When editing a previously created spool, core_weight is correct, but the name reverts to the frits of the catalog with that core_weight, not the one originally selected. It should display the original name.

Steps to Reproduce

  1. Create a new spool and assign a empty spool weight
  2. Save,
  3. Edit that spool

Printer Model

H2C

Bambuddy Version

0.2.0

Printer Firmware Version

01.01.05.00

Installation Method

Docker

Operating System

Docker

Relevant Logs / Support Package


Screenshots

No response

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
Originally created by @Keybored02 on GitHub (Feb 17, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/413 Originally assigned to: @Keybored02 on GitHub. ### Bug Description In AdditionalSection.tsx: when editing a spool, the SpoolWeightPicker receives only the numeric core_weight value but doesn't know which catalog entry name should be associated with it. When multiple catalog entries have the same weight, the find() function returns the first match, not necessarily the one I originally selected. ### Expected Behavior When editing a previously created spool, core_weight is correct, but the name reverts to the frits of the catalog with that core_weight, not the one originally selected. It should display the original name. ### Steps to Reproduce 1. Create a new spool and assign a empty spool weight 2. Save, 3. Edit that spool ### Printer Model H2C ### Bambuddy Version 0.2.0 ### Printer Firmware Version 01.01.05.00 ### Installation Method Docker ### Operating System Docker ### Relevant Logs / Support Package ```shell ``` ### Screenshots _No response_ ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [ ] My printer is set to LAN Only mode
BreizhHardware 2026-05-07 00:08:08 +02:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy-maziggy-1#256
No description provided.