-
Notifications
You must be signed in to change notification settings - Fork 171
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
[1.0.x/bug] Updating SubnetDivisionRule label breaks with underscores #547
Labels
Comments
pandafy
added a commit
that referenced
this issue
Sep 23, 2021
Use iterator() instead of all() on queryset, since the number of database row will be large for SubnetDivisionIndex. Closes #547
nemesifier
pushed a commit
that referenced
this issue
Sep 26, 2021
Use iterator() instead of all() on queryset, since the number of database row will be large for SubnetDivisionIndex. Closes #547
Closed by #548 |
pandafy
added a commit
that referenced
this issue
Oct 12, 2021
Use iterator() instead of all() on queryset, since the number of database row will be large for SubnetDivisionIndex. Closes #547
pandafy
added a commit
that referenced
this issue
Nov 26, 2021
Use iterator() instead of all() on queryset, since the number of database row will be large for SubnetDivisionIndex. Closes #547
pandafy
added a commit
that referenced
this issue
Nov 29, 2021
Use iterator() instead of all() on queryset, since the number of database row will be large for SubnetDivisionIndex. Closes #547
pandafy
added a commit
that referenced
this issue
Jan 12, 2022
Use iterator() instead of all() on queryset, since the number of database row will be large for SubnetDivisionIndex. Closes #547
pandafy
added a commit
that referenced
this issue
Jan 12, 2022
Use iterator() instead of all() on queryset, since the number of database row will be large for SubnetDivisionIndex. Closes #547
pandafy
added a commit
that referenced
this issue
Jan 19, 2022
Use iterator() instead of all() on queryset, since the number of database row will be large for SubnetDivisionIndex. Closes #547
codesankalp
pushed a commit
that referenced
this issue
Apr 21, 2022
Use iterator() instead of all() on queryset, since the number of database row will be large for SubnetDivisionIndex. Closes #547
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code responseible for updating labels for existing variables is fragile and breaks if user enters a label with an underscore.
openwisp-controller/openwisp_controller/subnet_division/tasks.py
Lines 31 to 34 in d9fa739
How to replicate
OW_TEST
OW_TEST2
Actual Behavior
Subnet and IP variables are renamed as
OW_TEST2_TEST_*
Expected Behavior
Subnet and IP variables should be renamed as
OW_TEST2_*
The text was updated successfully, but these errors were encountered: