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

[fix] Fixed changing status of link from LinkAdmin #154 #198

Merged
merged 2 commits into from
Jun 7, 2023

Conversation

pandafy
Copy link
Member

@pandafy pandafy commented Jun 6, 2023

Closes #154

@@ -84,6 +84,7 @@ def link_get_queryset(cls, qs):
'organization__name',
'organization__is_active',
'status',
'properties',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to add user_properties too here?
I would do the same on node_get_queryset for consistency.

@@ -188,6 +188,28 @@ def test_link_change_form(self):
self.assertNotContains(response, 'organization_id')
self.assertContains(response, link.topology.organization.name)

def test_link_update_status(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this looks like a problem with the app which integrates with openwisp-controller, can you please move it to openwisp_network_topology.integrations.device.tests.TestAdmin to achieve proper isolation?

@nemesifier nemesifier merged commit c023136 into master Jun 7, 2023
1 of 7 checks passed
@nemesifier nemesifier deleted the updating-link-admin branch June 7, 2023 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Changing the status of a link from admin web interface does not work
2 participants