Skip to content

Potential error in OpenImmo_1_2_7b.java upgrade method #17

@JayJayBinks

Description

@JayJayBinks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions