-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential error in OpenImmo_1_2_7b.java upgrade method #17
Comments
Thanks for pointing this out. Can you send me a short example XML to reproduce this problem? |
Thanks for the reply. Following case reporduces the problem:
Output:
|
Hello,
when upgrading OpenImmo from 1.2.7 to 1.2.7b in OpenImmo_1_2_7b.java there seems to be a part missing:
in 1.2.7 for XML name="flaechen" > name="anzahl_stellplaetze" there is no type specified. And the software i am using is putting a decimal number, which is technically correct.
However, in 1.2.7b the field is specified as positive integer.
When trying to load this XML following error occurs for this field:
o.o.io.core.XmlValidationHandler : > java.lang.IllegalArgumentException: Can't parse integer value '1.0'! For input string: "1.0"
Obviously the decimal is not converted to BigInteger. The field "anzahlStellplaetze" is null in the resulting object.
The text was updated successfully, but these errors were encountered: