Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Organization list crashes when called with a limit parameter #5789

@blazhovsky

Description

@blazhovsky

CKAN version
2.9.1

Describe the bug
When querying/listing organizations or groups with an added limit parameter there is a server error.

Steps to reproduce
Calling curl on the organization_list with the limit field set should recreate it.
E.g.

curl http://localhost:5000/api/3/action/organization_list\?limit\=31
{"help": "http://localhost:5000/api/3/action/help_show?name=organization_list", "error": {"__type": "Internal Server Error", "message": "Internal Server Error"}, "success": false}% 

Expected behavior
The server should return a list of organizations/groups.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions