DDMAL / DDMAL/CantusDB

json_node_export view not working as expected

Open
#1,069 1 comment 0 reactions 0 assignees View on GitHub
priority: low
Dominant language
Python
Stars
10
Forks
6
Avg merge
21h 25m
Merged PRs (30d)
14

Description

https://cantusdatabase.org/chant/638264 is a chant created in OldCantus. We should be able to swap out `/chant/` and substitute `/json-node/` in order to view a json representation of the chant. Yet https://cantusdatabase.org/json-node/638264 gives us a 404.

On the 404 page, we see a brief error message: "Http404". In the view, we raise an `Http404` if the `id >= NODE_ID_CUTOFF`, and `NODE_ID_CUTOFF = 1_000_000`. The ID is not over 999_999, so I don't see why this should be being raised, but this could be where the error message is coming from.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.