Link/Unlink job profiles should not be possible on the Action profile

Description

Overview: The linked job profiles should be "view only" on action profile view/edit screens. A user should not be able to link/unlink job profiles to action profiles from the action profile create/edit screen. Action and match profiles have to be added to the job profile only via the job profile create/edit screens, since the sequence of the matches and actions matters.

Steps to Reproduce:

  1. Log into FOLIO-snapshot as diku_admin

  2. Go to Settings/Data import/Action profiles

  3. Select any action profile and Edit it, or create a new action profile

  4. View the Associated job profile section

Expected Results:

  • There should not be a Link profile button

  • There should not be an "Unlink" icon on any associated job profile

Actual Results:

  • There is a "Link profile" button

  • There is an unlink icon on the associated job profile

Additional Information: See attached screenshot

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie BreauxJanuary 3, 2020 at 6:40 AM

Hi Tested on folio-snapshot and all looks fine now. Closing this bug. Thank you!

Taras TkachenkoDecember 23, 2019 at 4:54 PM

no, it's not a pain, it's OK.
I've just decided to make it clear.

Ann-Marie BreauxDecember 23, 2019 at 4:43 PM

Hi . If I'm on the action profile:

1. View: I should see any linked field mapping profile (1 at most) and job profiles (can be multiple)
2. Create: I should see link/associator for field mapping profile (1 at most), but not for job profile
3. Edit: I should see link/associator for field mapping profile (1 at most), but a view only version (no link/associator) for job profile. If that's a pain, then leave out the job profile section from the edit view entirely.

Would it be helpful to do a little chart like this for all of the different profile types?

Taras TkachenkoDecember 23, 2019 at 4:35 PM

Hi
If we on't allow the users to link Job Profiles from Action Profiles Edit Form then should we put Associator to that form at all?
Whether it will be better to put this Associator on Static Record View only?

Ann-Marie BreauxDecember 23, 2019 at 4:34 PM

Just created this bug - the job profile portion of the action profile should not be editable. Thank you!

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 23, 2019 at 4:25 PM
Updated March 19, 2020 at 7:50 AM
Resolved January 3, 2020 at 6:40 AM
TestRail: Cases
TestRail: Runs