Single instance export - MARC files sent to central tenant from member tenant

Description

Overview:
When a user with local tenant permissions exports single instance from Instance detail view, and the instance is shared then the file generated by the export is not posted to the data export in local tenant but in the central tenant, making it unavailable to the users who do not have central tenant permissions.

Exporting the same record from the second pane (Search results list) works as expected.

Steps to Reproduce:

  1. In central tenant create a user with following permissions:

    1. Central tenant permissions:

      1. Inventory: View instances, holdings, and items

    2. Member tenant permissions:

      1. Inventory: All permissions

      2. Settings (Data export): display list of settings pages

      3. UI: Data export module is enabled

  2. Log into FOLIO ecs instance as the newly created user

  3. Navigate to Inventory and search for an instance that is shared

  4. Open Instance Detail view and from the Actions menu, select Export instance (MARC)

Expected Results:

  1. UUID of the instance is saved locally in csv file

  2. Data export app contains the link to the exported file

Actual Results:

  1. UUID of the instance is saved locally in csv file

  2. Data export app does not contain any information about the export

  3. Data export in the central tenant has the link to the exported file

Additional Information:
The same record exported from the results list is exported correctly:

Testing notes
when this bug is fixed, please make sure there are Firebird tests for the following scenarios (coordinate with Firebird QA if necessary):

  1. Member tenant: Export local source = FOLIO instance from search results (2nd) pane, and confirm that the exported MARC file is available in the member tenant's export app

  2. Member tenant: Export local source = MARC instance from search results (2nd) pane, and confirm that the exported MARC file is available in the member tenant's export app

  3. Member tenant: Export shared source = FOLIO instance from search results (2nd) pane, and confirm that the exported MARC file is available in the member tenant's export app

  4. Member tenant: Export shared source = MARC instance from search results (2nd) pane, and confirm that the exported MARC file is available in the member tenant's export app

  5. Member tenant: Export local source = FOLIO instance from instance details (3rd) pane, and confirm that the exported MARC file is available in the member tenant's export app

  6. Member tenant: Export local source = MARC instance from instance details (3rd) pane, and confirm that the exported MARC file is available in the member tenant's export app

  7. Member tenant: Export shared source = FOLIO instance from instance details (3rd) pane, and confirm that the exported MARC file is available in the member tenant's export app

  8. Member tenant: Export shared source = MARC instance from instance details (3rd) pane, and confirm that the exported MARC file is available in the member tenant's export app

  9. Central tenant: Export shared source = FOLIO instance from search results (2nd) pane, and confirm that the exported MARC file is available in the central tenant's export app

  10. Central tenant: Export shared source = MARC instance from search results (2nd) pane, and confirm that the exported MARC file is available in the central tenant's export app

  11. Central tenant: Export shared source = FOLIO instance from instance details (3rd) pane, and confirm that the exported MARC file is available in the central tenant's export app

  12. Central tenant: Export shared source = MARC instance from instance details (3rd) pane, and confirm that the exported MARC file is available in the central tenant's export app

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2
  • 09 Oct 2023, 06:57 PM
  • 09 Oct 2023, 06:53 PM

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux November 10, 2023 at 6:45 AM

Closing this - will do final test in Poppy ECS Bugfest via a manual TestRail

JenkinsNotifications November 9, 2023 at 11:24 AM

Deployed to the Poppy bf env. Moved status to In bugfix review from status Awaiting deployment. Please proceed with the verification.

Ann-Marie Breaux November 9, 2023 at 4:29 AM

Please assign the RCA group - thank you!

Ann-Marie Breaux November 8, 2023 at 6:14 PM
Edited

Hi and All looks good on Folijet Consortia Rancher - moving to Awaiting release. Thank you!

cc:

Svetlana Amirova November 8, 2023 at 3:41 PM

Hello  

Ticket verified on Folijet Consortia Rancher. All works as expected. Moving ticket to In Review

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Poppy (R2 2023) Bug Fix

RCA Group

Implementation coding issue

Affected releases

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 9, 2023 at 6:58 PM
Updated November 22, 2023 at 1:39 PM
Resolved November 8, 2023 at 6:15 PM
TestRail: Cases
TestRail: Runs

Flag notifications