Change profile validation messages which are represented in code format (Orchid CSP 4 Clone)

Description

POPPY RELEASE ON MODDICONV-327

NOTE MODDICONV-302, MODDICONV-323, and https://folio-org.atlassian.net/browse/UIDATIMP-1465#icft=UIDATIMP-1465 must all be released and deployed together as Orchid CSPs for all to work properly

Purpose:
Profile validation errors can be represented as either a simple message or in error code format (e.g. "jobProfile.duplication.invalid").
It is complicated on the UI side to determine whether the validation error should be shown as-is or translated into a more user-friendly message.

Steps:
Change the following error codes to their corresponding more verbose messages:

  • jobProfile.duplication.invalid

  • matchProfile.duplication.invalid

  • actionProfile.duplication.invalid

  • mappingProfile.duplication.invalid

ORCHID Critical service patch details

  1. Describe issue impact on business - Change error messages to be more understandable to users

  2. What institutions are affected? (field “Affected Institutions” in Jira to be populated) - All with 3+ actions for the same record type in the same job profile

  3. What is the workaround if exists? Consolidate actions for 1 record type into single action profile, but that is not desirable for some libraries

  4. What areas will be impacted by fix (i.e. what areas need to be retested) Data Import Smoke and CP automated tests; this manual test

  5. Brief explanation of technical implementation and the level of effort (in workdays) and technical risk (low/medium/high).

    • Purpose: Some libraries prefer to have more discrete/granular mapping profiles linked to shared action profiles for updates, because they can use these action profiles in scope of one job profile instead of creating unique mapping profiles and individual action profiles that might be used only once. Currently, when there are multiple action profiles for updating holding within one job profile, the 3rd action always fails.

    • Technical explanation:

      • Remove OL retry counter from the event payload after a successful attempt to update holdings to avoid its influence on subsequent actions processing

      • Add test

    • Level of effort: Work is complete and level effort is low.

    • Technical risk: Very minimal risk.

  6. Brief explanation of testing required and level of effort (in workdays). Provide test plan agreed with by QA Manager and PO. Test cases already exist and level of effort is .5 day

  7. What is the roll back plan in case the fix does not work? Revert to previous version

CSP Request Details

Orchid CSP requested 28 July 2023. Orchid CSP approved 28 July by Mike G, Harry, Kristin, Mark V, Khalilah. NOTE: MODDICONV-302, MODDICONV-323, and UIDATIMP-1465 must all be released and deployed together as Orchid CSPs for all to work properly

CSP Rejection Details

None

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Kateryna SenchenkoJuly 14, 2023 at 10:34 AM

Hi ,

This change was done to show the correct error message for https://folio-org.atlassian.net/browse/MODDICONV-302#icft=MODDICONV-302 case. The ticket can be closed as https://folio-org.atlassian.net/browse/MODDICONV-302#icft=MODDICONV-302  is verified, but has to be a part of service patch as well. Thank you!

Ann-Marie BreauxJuly 14, 2023 at 7:46 AM

Is there anything we can test manually to confirm that the code format profile validation messages have been changed to something more user-friendly on the UI side? It's not clear to me if there's specific error messages that we could document with TestRails

cc:

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Orchid (R1 2023) Service Patch #4

CSP Approved

Yes

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 3, 2023 at 1:22 PM
Updated August 11, 2023 at 10:24 PM
Resolved July 17, 2023 at 2:07 PM
TestRail: Cases
TestRail: Runs

Flag notifications