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

WSTEAM1-1488: Delete MEDIA_PAGE references #12227

Open
wants to merge 7 commits into
base: latest
Choose a base branch
from

Conversation

karinathomasbbc
Copy link
Contributor

Resolves JIRA https://jira.dev.bbc.co.uk/browse/WSTEAM1-1488

Overall changes

Deletes all reference to MEDIA_PAGE as it has been separated into AUDIO_PAGE, TV_PAGE & LIVE_RADIO_PAGE

Code changes

  • Delete MEDIA_PAGE and all references
  • Update tests

Testing

PR checks will catch any issues

@karinathomasbbc karinathomasbbc self-assigned this Dec 6, 2024
Comment on lines -186 to -194
} catch (error: unknown) {
const { message } = error as Error;
serviceContext,
});
}

// eslint-disable-next-line no-console
console.error(
`ATI Event Tracking Error: Could not parse tracking values from page data:\n${message}`,
);
const buildParams = createBuilderFactory(
requestContext,
pageTypeParamBuilders,
);

return {};
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm maybe I should leave in the error handling just in case something occurs within buildPageATIParams or buildParams

@karinathomasbbc karinathomasbbc changed the title WSTEAM1-1488: Delete media page references WSTEAM1-1488: Delete MEDIA_PAGE references Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant