Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide DCAR JSON For Galleries #27612

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

JamieB-gu
Copy link
Contributor

Currently, when requesting JSON for a gallery, forceDCR is ignored. This is because the request has to be categorised as a "remote render" for DCAR JSON to be provided. However, this JSON is provided by frontend, not DCAR, so it's not accurate to call it a "remote render".

This change creates a separate case, apart from the "remote render" logic, to handle DCAR JSON for galleries.

Note: Prior to #27556 it would still have been possible to get DCAR JSON, because forceDCR would have categorised the request as a "remote render". However, as mentioned above, this is not a "remote render", so the solution is to make the change here rather than reverting or altering that PR.

Currently, when requesting JSON for a gallery, `forceDCR` is ignored. This is because the request has to be categorised as a "remote render" for DCAR JSON to be provided. However, this JSON is provided by frontend, not DCAR, so it's not accurate to call it a "remote render".

This change creates a separate case, apart from the "remote render" logic, to handle DCAR JSON for galleries.
@JamieB-gu JamieB-gu added this to the Decommission AR milestone Nov 18, 2024
@JamieB-gu JamieB-gu self-assigned this Nov 18, 2024
@JamieB-gu JamieB-gu requested a review from a team as a code owner November 18, 2024 16:44
Copy link
Contributor

@DanielCliftonGuardian DanielCliftonGuardian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@JamieB-gu JamieB-gu merged commit badc416 into main Nov 19, 2024
6 checks passed
@JamieB-gu JamieB-gu deleted the provide-dcar-json-for-galleries branch November 19, 2024 11:51
@prout-bot
Copy link
Collaborator

Seen on ADMIN-PROD (merged by @JamieB-gu 12 minutes and 8 seconds ago)

@prout-bot
Copy link
Collaborator

Seen on FRONTS-PROD (merged by @JamieB-gu 13 minutes and 13 seconds ago)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants