Done
Details
Assignee
Mariia AloshynaMariia AloshynaReporter
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Priority
P2Story Points
2Sprint
NoneDevelopment Team
FolijetTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Mariia Aloshyna
Mariia AloshynaReporter
Ann-Marie Breaux
Ann-Marie Breaux(Deactivated)Priority
Story Points
2
Sprint
None
Development Team
Folijet
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 26, 2020 at 3:47 PM
Updated May 4, 2020 at 8:12 AM
Resolved May 4, 2020 at 8:12 AM
Overview: When creating multiple job profiles in the same session, actions that I have assigned to one job profile become associated with a following job profile
Steps to Reproduce:
Log into FOLIO-snapshot as diku_admin
Go to Settings/Data import/Job profiles
Create a new job profile 1 and assign a match or two, and several actions
Keep track of which matches/actions you assign to the new job profile 1
Save the new job profile 1
Create another new job profile 2 and assign a match or two, and several actions. They don't have to be the same or different from ones you assigned to new job profile 1
Keep track of which matches/actions you assign to the new job profile 2
Save the new job profile 2
View the details of job profile 2 (in View and Edit mode)
View the details of job profile 1 (in View and Edit mode)
Expected Results: Job profile 1 should only have the matches and actions that were assigned to job profile 1. Job profile 2 should only have the matches and actions that were assigned to Job profile 2.
Actual Results: Job profile 2 includes actions that were assigned to Job profile 1. Job profile 1 includes actions that were assigned to Job profile 2. I'm not sure if it's happening with matches too.
Additional Information: See attached video
A-M NOTE: when testing this bugfix, also test that unlinking Action profiles actually causes them to be removed, and that match profiles are not removed
Add query param "jobProfileId" with corresponding jobProfile id to request GET /data-import-profiles/profileSnapshots/{profileId} to retrieve snapshot tree for any jobProfile or matchProfile.
Fill in "jobProfileId" in profileAssociation when creating associations matchProfile to matchProfile and matchProfile to actionProfile.