XLSForm / pyxform

A Python package to create XForms for ODK Collect.
BSD 2-Clause "Simplified" License
77 stars 134 forks source link

Java versions can have patch versions #479

Closed yanokwa closed 3 years ago

yanokwa commented 3 years ago

Resolves https://forum.getodk.org/t/problem-converting-with-xlsform-online-due-to-too-many-values-to-unpack/31163. This problem is occuring because the default Java on Ubuntu was upgraded to version "11.0.9.1" on 2020-11-04. Our code assumes no patch version.

This change will require a hotfix to pyxform.

Why is this the best possible solution? Were any other approaches considered?

Narrowest patch I could think of. I assume there is a major and minor version, and that both are ints. I also assume that the other version information doesn't matter.

What are the regression risks?

I remove the int wrappers in favor of the int() wrapping in the check that raises the exception

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have: