Project

General

Profile

Actions

Bug #86

closed

Batch - ParseInt Issue

Added by Chooi-Mey over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
offline batches
Target version:
Start date:
02/17/2011
Due date:
% Done:

100%

Estimated time:
Spent time:
Resolution:
Fixed

Description

Below list of program with line of code parseInt on orderId , which will hit exception when orderId in alphanumeric format:

Potential exception hit: key = Integer.parseInt(orderBean.getOrderId());

List of affected program:
1) src\my\com\eCosway\sync\Receiver_Registration2.java (line 824)
2) src\my\com\eCosway\sync\Receiver_Registration.java (line 834)
3) src\my\com\eCosway\sync\ReceiveRenewalData.java (line 206, checkRecordIsExist method will parseInt the pass in orderId. Resolution: use setString instead of setInt)
4) src\my\com\eCosway\sync\ReceiveShopperBankDetail.java (line 725)

Actions

Also available in: Atom PDF