Checking in an item with non-numeric characters in ole_ds_item_t.num_pieces fails with an incident report

Notes

The num_pieces column in ole_ds_item_t is varchar(10). It is possible to enter non-numeric values in the column. For example 2/2. However, checkin fails with a number format exception

UifHandlerExceptionResolver :
java.lang.NumberFormatException: For input string: "2/2"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at org.kuali.ole.deliver.controller.checkin.CheckinBaseController.checkForMissingPieceNote(CheckinBaseController.java:533)

Checkin needs to handle allowed values.

Assignee

Holly Mistlebauer

Reporter

Cheryl Malmborg

Labels

None

Priority By Function

5 - Deliver

Solr Version

None

Work Group

None

Process & Sub-Process

Deliver - Return

Parent Jira

None

Co-Assignee/s

None

Due By

None

Contribution

No

Contributing Developer

None

Contributing Institution

None

Contribution Type

None

Value Proposition

None

Components

Fix versions

Priority

Critical
Configure