Empty version strings not parsed correctly
Bug #826636 reported by
Jon Nicholson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open ADK for Java |
New
|
Undecided
|
Unassigned |
Bug Description
In the case that a ZIS returns a message with an empty Version attribute, i.e. Version="", the ADK will error with a string out of bounds exception rather than an appropriate illegal argument exception.
There is an easy fix. The method "static SIFVersion parse(String)" in the com.edustructur
catch (StringIndexOut
throw new IllegalArgument
}
This reports a more informative exception.
To post a comment you must log in.