Actions
Bug #83
closedOnline Mall - Order Number Range Check Problem
Resolution:
Fixed
Description
Order Number is parseInt/long and check/compare from the list of number range, to determine belongs to which mall.
In this migration, order number will be alphanumeric, that it will hit error or fail to be checked from this kind of checking, example:
long iOrder = Long.parseLong(orderNum);
if (iOrder >= 400000000 && iOrder <= 419999999)//HK Mall
keepOriginalPurcQU = true;
else if (iOrder >= 440000000 && iOrder <= 459999999)//Aus Mall & Ind Mall
keepOriginalPurcQU = true;
To make it consistent for future alphanumeric order number case, can consider remain this logic checking by using customize comparator for the string value. For reference: http://code.hammerpig.com/sort-strings-numbers-java.html. Or have better resolution, if any.
Search thru all related project to find any impacted program via this:
1) Search file with text "400000000", scan trhu the search result to find files with such logic checking.
Actions