home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4k stars 2.73k forks source link

Names for new tags (NFC or QR) not saved to database #22302

Open NoRi2909 opened 2 days ago

NoRi2909 commented 2 days ago

Checklist

Describe the issue you are experiencing

When creating a new Tag either on Desktop (QR code) or on Mobile (NFC tag) the name entered in the 'New tag' dialog is not saved to the database. It does show up in the Tags list at first but is gone after refreshing or when checking on a different device.

Describe the behavior you expected

The Name entered in the dialog should be saved.

Steps to reproduce the issue

Same result on Desktop or on Mobile:

  1. Go to Settings > Tags and tap the "Add tag" button.
  2. Enter a Name for the tag.
  3. Enter an ID or just leave it blank to get a GUID instead.
  4. Tap either "Create" or "Create and write" (Mobile only) (if you selected the latter proceed writing via NFC)

The tag will show up in the list with the name you just assigned:

image 1

  1. Now check the Tags list on some other device or simply refresh the page. The name will be gone, replaced with the ID that you entered in step 3 or that was auto-assigned.

image 2

I can reproduce this in Chrome on my desktop just as well, just already had the Android screen shots at hand.

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

n/a

In which browser are you experiencing the issue with?

Companion app / Google Chrome 130.0.6723.25 beta (64-Bit)

Which operating system are you using to run this browser?

Android 15 / Chrome OS

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

karwosts commented 2 days ago

IIRC this is a core issue: https://github.com/home-assistant/core/issues/125361

NoRi2909 commented 1 day ago

@karwosts OK, now it's moved from the Android app where I first discovered this bug via frontend to core. 8-)

Anything I can do on that extremely quiet front over there to push this towards a fix?

karwosts commented 1 day ago

Not really anything more you can do, unless you're inclined to try to publish a bugfix yourself.