Project

General

Profile

Actions

Bug #73

closed

Super Selection Order Adminstration - View order detrails - NumberFormatException

Added by Chooi-Mey almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
eCosway mall - control center
Target version:
Start date:
01/27/2011
Due date:
01/28/2011
% Done:

100%

Estimated time:
Spent time:
Resolution:
Fixed

Description

java.lang.NumberFormatException: For input string: "SUF2934643" 
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:447)
        at java.lang.Integer.parseInt(Integer.java:497)
        at org.apache.jsp.admin.order_005fBP_005fviewOrderDetail_jsp._jspService(order_005fBP_005fviewOrderDetail_jsp.java:772)
Actions #1

Updated by Chooi-Mey almost 14 years ago

This refer to function Super Selection Order Adminstration - Order Enquiry - view details

Actions #2

Updated by chin-yeh almost 14 years ago

  • Status changed from New to In Progress
steps to reproduce:
  1. login to control center
  2. go to Super Selection Order Administration -> Order Enquiry
  3. disable JavaScript from the browser
  4. copy and paste the following URL to the address bar and then press Enter:
    http://60.49.152.21/ecoswaymig/admin/order_BP_viewOrderDetail.jsp?refno=&orderID=SUF2934662&approvalLimit=0.0&pageNo=0&trxPeriod=012011&searchMall=ECOS&searchCriteria=2934662&searchType=2&actionValue=8
    
  5. repeat previous step
Actions #3

Updated by chin-yeh almost 14 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from chin-yeh to Chooi-Mey
  • % Done changed from 0 to 100
  • Resolution set to Fixed

deployed the fix already. the fix will check if the order number is numeric before do any numeric parsing.

how to verify:
  1. login to control center
  2. go to Super Selection Order Administration -> Order Enquiry
  3. disable JavaScript from the browser
  4. copy and paste the following URL into address bar and then press Enter:
    http://60.49.152.21/ecoswaymig/admin/order_BP_viewOrderDetail.jsp?refno=&orderID=SUF2934662&approvalLimit=0.0&pageNo=0&trxPeriod=012011&searchMall=ECOS&searchCriteria=2934662&searchType=2&actionValue=8
    
  5. repeat previous step
Actions #4

Updated by chin-yeh almost 14 years ago

chin-yeh wrote:

deployed the fix already. the fix will check if the order number is numeric before do any numeric parsing.

how to verify:
  1. login to control center
  2. go to Super Selection Order Administration -> Order Enquiry
  3. disable JavaScript from the browser
  4. copy and paste the following URL into address bar and then press Enter:
    [...]
  5. repeat previous step

updated the test instruction

Actions #5

Updated by Chooi-Mey almost 14 years ago

  • Status changed from Feedback to Closed

Tested.

Actions

Also available in: Atom PDF