Description
CKAN version
2.11.3
Describe the bug
It seems to me the tracking extension does not work anymore in 2.11.3.
Calls to /_tracking
result in a "405 Method not allowed", returned by flask:
INFO [ckan.config.middleware.flask_app] 405 Method Not Allowed: The method is not allowed for the requested URL.
Steps to reproduce
I am using ckan within docker.
I upgraded from 2.10.4 to 2.11.3.
Having following extensions installed:
- ckanext-dcat@v2.3.0
- ckanext-dcatde@6.9.0
- ckanext-harvest@v1.6.1
- ckanext-scheming@release-3.1.0
Fresh database. Harvested some records.
Loaded tracking plugin and removed old enable_tracking config setting.
ENV CKAN__PLUGINS="image_view text_view stats tracking harvest dcat dcatde dcatde_rdf_harvester structured_data scheming_datasets scheming_groups scheming_organizations myext envvars"
Expected behavior
Tracking extension should work.
Additional details
I use the root path /ckan/
but i did not configure it within ckan.
I rewrite all requests via nginx to root level in ckan.
Also i noticed the path /_tracking
is hardcoded and does not depend on root path config option, seems that has been fixed previously in #8523