Closed clarkepeterf closed 3 months ago
Problem Description: When using the api to fetch all objects that are part of an exhibition, the link to next fails and instead returns this error: { "statusCode": 400, "errorMessage": "SyntaxError: missing ) after argument list" }
Expected Behavior/Solution: When a user goes to this URL: https://lux.collections.yale.edu/api/search/item?q=%7B%22memberOf%22%3A%7B%22id%22%3A%22https%3A%2F%2Flux.collections.yale.edu%2Fdata%2Fset%2F8ea6fda7-d971-4bc3-a6ba-a73903f25450%22%7D%7D And then follows next to this URL: https://lux.collections.yale.edu/api/search/item?q=%22%7B%5C%22memberOf%5C%22%3A%7B%5C%22id%5C%22%3A%5C%22https%3A%2F%2Flux.collections.yale.edu%2Fdata%2Fset%2F8ea6fda7-d971-4bc3-a6ba-a73903f25450%5C%22%7D%7D%22&page=2&pageLength=20 a new JSON doc should be displayed
Requirements: All URLs returned by the API should be valid
Needed for promotion: If an item on the list is not needed, it should be crossed off but not removed.
UAT/LUX Examples:
Go to this URL: https://lux-front-dev.collections.yale.edu/api/search/item?q=%7B%22memberOf%22%3A%7B%22id%22%3A%22https%3A%2F%2Flux.collections.yale.edu%2Fdata%2Fset%2F8ea6fda7-d971-4bc3-a6ba-a73903f25450%22%7D%7D Jump to the end of the page and click the URL provided in the "next" property:
If there is an error, it is still broken, if not, the fix worked. Dependencies/Blocks:
Related Github Issues:
Related links:
Wireframe/Mockup: Place wireframe/mockup for the proposed solution at end of ticket.
Approved per UAT
deployed
Problem Description: When using the api to fetch all objects that are part of an exhibition, the link to next fails and instead returns this error: { "statusCode": 400, "errorMessage": "SyntaxError: missing ) after argument list" }
Expected Behavior/Solution: When a user goes to this URL: https://lux.collections.yale.edu/api/search/item?q=%7B%22memberOf%22%3A%7B%22id%22%3A%22https%3A%2F%2Flux.collections.yale.edu%2Fdata%2Fset%2F8ea6fda7-d971-4bc3-a6ba-a73903f25450%22%7D%7D And then follows next to this URL: https://lux.collections.yale.edu/api/search/item?q=%22%7B%5C%22memberOf%5C%22%3A%7B%5C%22id%5C%22%3A%5C%22https%3A%2F%2Flux.collections.yale.edu%2Fdata%2Fset%2F8ea6fda7-d971-4bc3-a6ba-a73903f25450%5C%22%7D%7D%22&page=2&pageLength=20 a new JSON doc should be displayed
Requirements: All URLs returned by the API should be valid
Needed for promotion: If an item on the list is not needed, it should be crossed off but not removed.
[ ] Wireframe/Mockup - Mike[ ] Committee discussions - Sarah[ ] Feasibility/Team discussion - Sarah[ ] Backend requirements - TBD[ ] Frontend requirements- TBD[ ] QuestionsUAT/LUX Examples:
Go to this URL: https://lux-front-dev.collections.yale.edu/api/search/item?q=%7B%22memberOf%22%3A%7B%22id%22%3A%22https%3A%2F%2Flux.collections.yale.edu%2Fdata%2Fset%2F8ea6fda7-d971-4bc3-a6ba-a73903f25450%22%7D%7D Jump to the end of the page and click the URL provided in the "next" property:
If there is an error, it is still broken, if not, the fix worked. Dependencies/Blocks:
Related Github Issues:
Related links:
Wireframe/Mockup: Place wireframe/mockup for the proposed solution at end of ticket.