Skip to content

[fix] Fixed bug in preview when device has no name#1006

Merged
nemesifier merged 2 commits into
masterfrom
fix-name-replace
Apr 10, 2025
Merged

[fix] Fixed bug in preview when device has no name#1006
nemesifier merged 2 commits into
masterfrom
fix-name-replace

Conversation

@nemesifier
Copy link
Copy Markdown
Member

@nemesifier nemesifier commented Apr 10, 2025

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • N/A I have updated the documentation.

Description of Changes

The get_config method wasn't checking if self.name is defined before using it.

The get_config method wasn't checking  if
self.name is defined before using it.
@nemesifier nemesifier added the bug label Apr 10, 2025
@nemesifier nemesifier self-assigned this Apr 10, 2025
@nemesifier nemesifier merged commit 5400a27 into master Apr 10, 2025
30 of 31 checks passed
@nemesifier nemesifier deleted the fix-name-replace branch April 10, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant