Direct Item Entry Error: 'Incorrect Error' when Item is not on Price List
(Doc ID 1666188.1)
Last updated on OCTOBER 29, 2020
Applies to:Oracle iStore - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.
Symptoms seen when attempting to add an item in Direct Item Entry that is not found on a Price List:
Symptom 1: The user receives 'Application Error'.
Symptom 2: When the expected error is displayed, it references the incorrect line number (ie off by 1).
Symptom 1: Array index out of range: 1
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
Symptom 2: "Line 1: Item is not on price list."
Note: the line having the error was line 2 not line 1.
The issue can be reproduced at will with the following steps:
1. Add 2 lines in direct item entry page, 2nd line with item not on price list
2. Error message is seen referencing line 1 instead of line 2 or 'Application Error' is returned
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document