Skip to content

[bug] API endpoints are failing with "Organization not found, organization_field not implemented correctly." #105

@nemesifier

Description

@nemesifier

The following API endpoints:

  • /api/v1/ipam/ip-address/<id>/
  • /api/v1/ipam/subnet/<id>/

Are failing when using the latest version of openwisp-users, with the error:

Organization not found, `organization_field` not implemented correctly.

However, the bug is not showing in tests, so I'm puzzled by this and I would like to know if anyone can confirm this.

PS: it may happen when using non super users (is_superuser=False).

Similar issues already resolved in other modules:

openwisp/openwisp-controller#1093
openwisp/openwisp-controller#1110

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestEasy issues for attracting Hacktoberfest participants.enhancementNew feature or request

    Type

    No type

    Projects

    Status

    To do

    Status

    To do (Python & Django)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions