Acq unit in invoice field mapping profile causes import to complete with errors

Description

This ticket was created as continuation of work to resolve issue described there: https://folio-org.atlassian.net/browse/MODDATAIMP-561

Work in mod-data-import already completed, and now its needed to perform some changes in mod-invoice project.

Currently permission invoices.acquisitions-units-assignments.assign is taken from header X-Okapi-Permission in mod-invoice code, but this permission is not populated automatically by mod-auth module.

Based on this story its needed to adjust mod-invoice code to get permission invoices.acquisitions-units-assignments.assign from KafkaConsumerRecord

 

CSP Request Details

Hotfix approved on Slack release-bug-triage channel 27 Sept 2021

CSP Rejection Details

None

Potential Workaround

None

Attachments

3
  • 06 Oct 2021, 09:21 AM
  • 06 Oct 2021, 09:21 AM
  • 06 Oct 2021, 09:21 AM

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux October 13, 2021 at 3:38 AM

Tested on Juniper Bugfest (be sure to use an acq unit that is in the first 10 in the acq unit settings; will be fixed in Kiwi)

All worked properly. Closing this bug

The acquisitions unit bug for EDIFACT invoices has been fixed, and is available as part of Hotfix 3. It required changes in both the Invoices app and the Data Import app.

Ann-Marie Breaux October 11, 2021 at 6:23 AM

Tested on folio-snapshot-load, and all works as expected for the acq unit in the field mapping profile, import, and invoice that was created.

Done

Details

Assignee

Reporter

Priority

Story Points

Development Team

Folijet Support

Fix versions

Release

R2 2021 Hot Fix #3

RCA Group

Missing module permission

CSP Approved

Yes

Affected Institution

MI State University/Library of Michigan

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created October 6, 2021 at 9:21 AM
Updated January 26, 2022 at 8:52 AM
Resolved October 8, 2021 at 2:50 PM
TestRail: Cases
TestRail: Runs

Flag notifications