Skip to content

Commit

Permalink
Ramsons v12.9.3 release (#1059)
Browse files Browse the repository at this point in the history
* [MODORDERS-1218/MODORDERS-1219] Fix async issue for change instance connection (#1058)

* MODORDERS-1183. Introduce new error code for missed affiliations

* MODORDERS-1218/MODORDERS-1219. Fix async issue with changing instance connection

(cherry picked from commit 6f79419)

* Prepare for release v12.9.3

* [maven-release-plugin] prepare release v12.9.3

* [maven-release-plugin] prepare for next development iteration
  • Loading branch information
SerhiiNosko authored Dec 4, 2024
1 parent 3e9e6f2 commit beb2e66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
## 13.0.0 - Unreleased

## 12.9.3 - Released (Ramsons R2 2024)
The primary focus of this release was to fix async issues with changing instance connection for PO Line.

[Full Changelog](https://github.com/folio-org/mod-orders/compare/v12.9.2...v12.9.3)

### Bug Fixes
* [MODORDERS-1219](https://issues.folio.org/browse/MODORDERS-1219) - Adding an Instance connection to a manually created order and po line does not link
* [MODORDERS-1218](https://issues.folio.org/browse/MODORDERS-1218) - Different instance details pane opens when user click link in "Item details" accordion after changing instance connection in "Orders" app


## 12.9.2 - Released (Ramsons R2 2024)
The primary focus of this release was to fix issue with binding items in member tenants.

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.folio</groupId>
<artifactId>mod-orders</artifactId>
<version>12.9.3-SNAPSHOT</version>
<version>12.9.4-SNAPSHOT</version>

<name>Orders Business Logic</name>
<description>Business logic to manage orders in FOLIO</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private Future<Void> updateInventoryInstanceInformation(PatchOrderLineRequest re

String newInstanceId = request.getReplaceInstanceRef().getNewInstanceId();
purchaseOrderLineService.getOrderLineById(lineId, requestContext)
.map(poLine -> {
.compose(poLine -> {
RequestEntry requestEntry = new RequestEntry(INVENTORY_LOOKUP_ENDPOINTS.get(INSTANCE_RECORDS_BY_ID_ENDPOINT)).withId(newInstanceId);
return restClient.getAsJsonObject(requestEntry, requestContext)
.compose(instanceRecord -> updatePoLineWithInstanceRecordInfo(instanceRecord, poLine, requestContext))
Expand Down

0 comments on commit beb2e66

Please sign in to comment.