openwisp/django-loci

[bug] Assigning an existing geographic location is broken

nemesifier opened this issue · 1 comments

How to replicate:

  • create a device
  • create a geographic location in a separate step
  • go to the device created in the first step, then go to map tab, select "Existing"
  • select the geographic location just created
  • hit save

Expected result:

  • when the location is selected, the geo information should appear
  • device is saved normally

Actual result:

  • when the location is selected, the geo information does not appear
  • device is not saved because a validation error

@nemesisdesign This Issue is coming from django-loci. I have confirmed and solved it.