-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MODORDERS-986] - Error thrown during change instance connection (#829)
* [MODORDERS-986] - Fixed NPE
- Loading branch information
1 parent
caa4a85
commit b85aa14
Showing
4 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
src/test/resources/mockdata/lines/13c4c3c2-90d9-4090-8694-edae7e79e7ac.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"id" : "13c4c3c2-90d9-4090-8694-edae7e79e7ac", | ||
"acquisitionMethod" : "Purchase At Vendor System", | ||
"alerts" : [ ], | ||
"cancellationRestriction" : false, | ||
"cancellationRestrictionNote" : "ABCDEFGHIJKLMNOPQRSTUVW", | ||
"claims": [ | ||
{ | ||
"claimed": false, | ||
"sent": "2018-10-09T00:00:00.000Z", | ||
"grace": 30 | ||
} | ||
], | ||
"collection" : false, | ||
"contributors" : [ { | ||
"contributor" : "Ed Mashburn", | ||
"contributorNameTypeId" : "fbdd42a8-e47d-4694-b448-cc571d1b44c3" | ||
} ], | ||
"cost": { | ||
"currency": "USD", | ||
"listUnitPrice": 24.99, | ||
"quantityPhysical": 3 | ||
}, | ||
"description" : "ABCDEFGH", | ||
"donor" : "ABCDEFGHIJKLM", | ||
"fundDistribution": [ | ||
{ | ||
"code": "HIST", | ||
"fundId": "fb7b70f1-b898-4924-a991-0e4b6312bb5f", | ||
"distributionType": "percentage", | ||
"value": 80.0 | ||
} | ||
], | ||
"locations": [ | ||
{ | ||
"locationId": "fcd64ce1-6995-48f0-840e-89ffa2288371", | ||
"quantity": 1, | ||
"quantityElectronic": 0, | ||
"quantityPhysical": 1 | ||
}, | ||
{ | ||
"locationId": "53cf956f-c1df-410b-8bea-27f712cca7c0", | ||
"quantity": 2, | ||
"quantityElectronic": 0, | ||
"quantityPhysical": 2 | ||
} | ||
], | ||
"orderFormat" : "Physical Resource", | ||
"paymentStatus" : "Fully Paid", | ||
"physical": { | ||
"createInventory": "Instance, Holding, Item", | ||
"volumes": [ | ||
"vol. 1" | ||
], | ||
"materialSupplier": "73d14bc5-d131-48c6-b380-f8e62f63c8b6", | ||
"materialType": "2fa93835-ea37-479d-b133-1d2a2279fcd8", | ||
"expectedReceiptDate": "2018-10-05T00:00:00.000Z", | ||
"receiptDue": "2018-10-10T00:00:00.000Z" | ||
}, | ||
"poLineDescription" : "ABCDEFGHIJKLMNOPQRSTUVWXY", | ||
"poLineNumber" : "1EFC4DA8526-1", | ||
"publicationDate" : "2017", | ||
"publisher" : "Schiffer Publishing", | ||
"purchaseOrderId" : "00000000-1111-2222-8888-999999999999", | ||
"receiptDate" : "2018-10-09T00:00:00.000+0000", | ||
"receiptStatus" : "Awaiting Receipt", | ||
"reportingCodes" : [ ], | ||
"requester" : "Leo Bulero", | ||
"rush" : true, | ||
"selector" : "ABCD", | ||
"source": "User", | ||
"tags": { | ||
"tagList": [ | ||
"important" | ||
] | ||
}, | ||
"titleOrPackage" : "Kayak Fishing in the Northern Gulf Coast", | ||
"vendorDetail": { | ||
"instructions": "ABCDEFG", | ||
"noteFromVendor": "ABCDEFGHIKJKLMNOP", | ||
"referenceNumbers": [ | ||
{ | ||
"refNumber": "123456-78", | ||
"refNumberType": "Vendor title number", | ||
"vendorDetailsSource": "OrderLine" | ||
} | ||
], | ||
"vendorAccount": "8910-25" | ||
}, | ||
"metadata": { | ||
"createdDate": "2018-06-29T00:00:00.000", | ||
"createdByUserId": "28d0f99c-d137-11e8-a8d5-f2801f1b9fd1" | ||
} | ||
} |