Skip to content

Getting resources by CTID fails for some resources #118

@siuc-nate

Description

@siuc-nate

For some resources, trying to get a record by its CTID fails. For example:

http://lr-staging.learningtapestry.com/resources/ce-fcb90ae2-fa79-48f1-addf-062bd2c98985
and
http://lr-staging.learningtapestry.com/ce-registry/ce-fcb90ae2-fa79-48f1-addf-062bd2c98985
give 404s. The structure of these 404s is also different, which may deserve its own issue (but is beside the point for now).
The record, however, does exist:
http://lr-staging.learningtapestry.com/ce-registry/envelopes/2577e5cd-c5da-49ea-a5e4-ca339ea0efd5
Note the CTID in that envelope's resource matches the CTID provided in the above links.

However, other resources can be retrieved by CTID:
http://lr-staging.learningtapestry.com/resources/ce-AB30C9E1-F9E5-4C42-A2B9-CE004DD6DA2E
works, however
http://lr-staging.learningtapestry.com/ce-registry/ce-AB30C9E1-F9E5-4C42-A2B9-CE004DD6DA2E
fails

Additionally, using the search API endpoint does find it when the get endpoint fails:
http://lr-staging.learningtapestry.com/ce-registry/search?ceterms%3Actid=ce-fcb90ae2-fa79-48f1-addf-062bd2c98985

@science @cwd-mparsons Thoughts?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions