Handle error if the saved product ID is no longer available #10131
Labels
Good First Issue
Good first issue for new engineers
Module: RRM
Reader Revenue Manager module related issues
P0
High priority
Team M
Issues for Squad 2
Type: Enhancement
Improvement of an existing feature
Feature Description
The Reader Revenue Manager settings edit screen should be updated to handle an error if the saved product ID is no longer available in the publication.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
rrmModuleV2
feature flag is enabled:{PRODUCT_ID}
was not found. Please select a new product ID."Implementation Brief
assets/js/modules/reader-revenue-manager/components/settings/SettingsEdit.js
:StoreErrorNotices
component with the module slug and store name of Reader Revenue Manager.rrmModuleV2
feature flag is enabled, the user has module access, the publication is available, and the saved product ID (within theproductID
module setting) no longer exists within theproductIDs
module setting.ErrorText
with a message according to the ACs.Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: