You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The search uses a REST API http://localhost/api/base/search/?abstract__icontains=members&f_method=or&limit=5&offset=0&purpose__icontains=members&q=members which answers with a 404 error with the following json body
{
"error_message": "Sorry, no results on that page.",
"traceback": "Traceback (most recent call last):\n\n File \"/usr/src/geonode/geonode/api/resourcebase_api.py\", line 493, in get_search\n page = paginator.page(\n\n File \"/usr/local/lib/python3.8/site-packages/django/core/paginator.py\", line 70, in page\n number = self.validate_number(number)\n\n File \"/usr/local/lib/python3.8/site-packages/django/core/paginator.py\", line 47, in validate_number\n raise EmptyPage(_('That page number is less than 1'))\n\ndjango.core.paginator.EmptyPage: Quel numero di pagina è minore di 1\n\n\nDuring handling of the above exception, another exception occurred:\n\n\nTraceback (most recent call last):\n\n File \"/usr/local/lib/python3.8/site-packages/tastypie/resources.py\", line 228, in wrapper\n response = callback(request, *args, **kwargs)\n\n File \"/usr/src/geonode/geonode/api/resourcebase_api.py\", line 497, in get_search\n raise Http404(\"Sorry, no results on that page.\")\n\ndjango.http.response.Http404: Sorry, no results on that page.\n"
}
Using the MITM Proxy I was able to inspect the request made by geonode to elasticsearch, it returns the following body which has the expected hit:
Expected Behavior
Searching for "members" should find the default group "Registered Members"
Actual Behavior
Nothing is found, the UI breaks
Steps to Reproduce the Problem
.env
docker-compose up -d --build
Specifications
The search uses a REST API
http://localhost/api/base/search/?abstract__icontains=members&f_method=or&limit=5&offset=0&purpose__icontains=members&q=members
which answers with a 404 error with the following json bodyUsing the MITM Proxy I was able to inspect the request made by geonode to elasticsearch, it returns the following body which has the expected hit:
The text was updated successfully, but these errors were encountered: