Skip to content

Root Location parentId Field Only Works With Empty String and Not for NULL Values #1055

@qiarie

Description

@qiarie

The server-web endpoint /rest/location/findByProperties?is_jurisdiction=true&geometry=false&properties_filter=status:Active,parentId:null is meant to return the root locations in the DB. Any location whose parentId is not set is expected as the output to this call.

However, the endpoint returns an empty JSON array when the parentId is NULL, but returns the expected list when the parentId value is an empty string.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions