Eureka | ECS | User can save changes for POL with location in not assigned tenant

Description

Preconditions:

  1. "Allow user to select locations from other affiliations for central orders" option should be checked (active) in "Settings" -> "Consortium manager" -> "Central ordering" in Central tenant

  2. An order with one PO line has been created for any location from member2 tenant, order status is "Pending"

  3. User with "Staff" user type has assigned affiliations only in the following tenants:

  • central (Home tenant)

  • member1

  1. User with User type = "Staff" has following permissions:

  • In Central tenant:

    • Orders: Can edit Orders and Order lines

    • Settings (Consortia): Can view network ordering

  • In all tenants:

    • Inventory: View instances, holdings, and items

  1. User is logged in Central tenant

  2. User is on created PO line details pane

Steps to reproduce:

  1. Click “Actions” button on PO line details pane

  2. Select “Edit” option

  3. Increase quantity to 2 in “Cost details” accordion

  4. Click “Add location” button in “Location” accordion

  5. Select “Member 1” in “Affiliation” dropdown

  6. Click “Create new holdings for location” link

  7. Select any location from Member 1 tenant from appeared modal

  8. Click "Save & close" button

Expected result:

  • Edit page remains opened

  • Error toast message appears -”POL could not be saved. This record has location affiliations that your user does not have. These affiliations must be removed or the operation must be performed by a user who has the same affiliations as the record.”

Actual result: changes were saved successfully

Additional info: is not reproduced on okapi environments

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

Activity

Show:

NinaChistova December 16, 2024 at 8:34 AM

Tested on eureka snapshot https://folio-etesting-snapshot-consortium.ci.folio.org/ and bugfest . Issue is not reproduced

 

 

Boburbek Kadirkhodjaev December 16, 2024 at 8:05 AM

Tried on Friday and today with my limited user test1:test1, cannot reproduce it on .

Cannot Reproduce

Details

Assignee

Reporter

Priority

Development Team

Thunderjet

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 13, 2024 at 12:36 PM
Updated December 16, 2024 at 8:34 AM
Resolved December 16, 2024 at 8:34 AM
TestRail: Cases
TestRail: Runs