Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Adrian Świszcz
Adrian Świszcz(Deactivated)Reporter
Joanna Bebak
Joanna Bebak(Deactivated)Labels
Story Points
3
Original estimate
3d
Time tracking
Components
Sprint
None
Fix versions
Priority
Time Assistant
Time Assistant
Created September 30, 2020 at 6:43 AM
Updated November 21, 2020 at 2:47 PM
Resolved October 28, 2020 at 10:42 AM
When I was reviewing OLMIS-6212, I noticed that currently, it's impossible to create the kit unpack list. When trying to do so, errors in the console occur, as visible on screenshots. The issue occurs on both browsers.
Whole error from Network:
{
"timestamp" : "2020-09-30T06:32:25.443+0000",
"status" : 400,
"error" : "Bad Request",
"message" : "JSON parse error: null; nested exception is com.fasterxml.jackson.databind.JsonMappingException: N/A\n at [Source: (PushbackInputStream); line: 1, column: 544] (through reference chain: org.openlmis.referencedata.dto.OrderableDto["children"]->java.util.HashSet[0]->org.openlmis.referencedata.dto.OrderableChildDto["orderable"]->org.openlmis.referencedata.domain.Orderable["id"])",
"path" : "/api/orderables/d602d0c6-4052-456c-8ccd-61b4ad77bece"
}
Reproduction steps:
Log in as administrator.
Go to Administration > Products.
Click the “Edit” button next to any product.
Go to the “Kit Unpack List” tab.
Click the “Add Product” button.
Select any product and click the “Add Products” button.
Enter any number in the “Quantity” field and click the “Save Kit Unpack List” button.
The list is not created. Instead, errors occur.
Expected results:
It should be possible to create kit unpack lists;
It should be possible to update kit unpack lists (including deletion).