Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot remove all device attributes in UI #7466

Open
3 of 6 tasks
vlasebian opened this issue Jan 7, 2025 · 1 comment
Open
3 of 6 tasks

Cannot remove all device attributes in UI #7466

vlasebian opened this issue Jan 7, 2025 · 1 comment
Assignees
Labels
bug Something isn't working c/console This is related to the Console
Milestone

Comments

@vlasebian
Copy link
Contributor

Summary

I cannot remove all the device attributes in the device settings.

Steps to Reproduce

Prerequisites:

  • Have TTS OS running locally
  • Have an application already created

Steps:

  • Go to TTS home page
  • Register an end device
  • Go to the settings of the end device (Applications -> App Name -> End devices -> Dev name -> Settings)
  • Add a few attributes
  • Save the changes
  • Go to another page and then come back on the device settings page
  • Remove all the device attributes by clicking on the remove button in the right of each attribute

Current Result

The 'Attribute values must have less than 200 characters' error is shown and changes cannot be saved. If you navigate to another page and come back, the attributes are still there.

Screenshot 2025-01-07 at 16 33 28

Expected Result

No error should be shown. End device attributes should be removed when clicking on save changes.

Relevant Logs

No response

URL

No response

Deployment

The Things Stack Open Source (self-hosted)

The Things Stack Version

No response

Client Name and Version

The Things Stack for LoRaWAN: ttn-lw-stack
Version:             3.33.0-dev
Go version:          go1.23.3
OS/Arch:             darwin/arm64

Other Information

No response

Proposed Fix

No response

Contributing

  • I can help by doing more research.
  • I can help by implementing a fix after the proposal above is approved.
  • I can help by testing the fix before it's released.

Validation

Code of Conduct

@vlasebian vlasebian added needs/triage We still need to triage this bug Something isn't working c/console This is related to the Console labels Jan 7, 2025
@KrishnaIyer
Copy link
Member

I can confirm this one. Probably a front-end validation issue. @PavelJankoski can you take a look?

@KrishnaIyer KrishnaIyer added this to the v3.33.1 milestone Jan 13, 2025
@KrishnaIyer KrishnaIyer removed the needs/triage We still need to triage this label Jan 13, 2025
@KrishnaIyer KrishnaIyer modified the milestones: v3.33.1, v3.34.0 Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c/console This is related to the Console
Projects
None yet
Development

No branches or pull requests

3 participants