OpenTreeMap / otm-core

OpenTreeMap is a collaborative platform for crowdsourced tree inventory, ecosystem services calculations, urban forestry analysis, and community engagement.
www.opentreemap.org
Other
186 stars 88 forks source link

Fix UDF choice editing helper function #3259

Closed jwalgran closed 5 years ago

jwalgran commented 5 years ago

Overview

In the case where choice fields contain numeric values, this helper is called with a number and fails unless we force the value to a string.

Connects https://github.com/OpenTreeMap/otm-clients/issues/441

Testing Instructions

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 83.796% when pulling 3604b8d4ff8f230838280b92afb08a6a0e50a8a8 on jcw/fix-udf-helper into cb1027c63c1dafabb5a26315fee6488f8042dd08 on develop.

jwalgran commented 5 years ago

Thanks. I am going to retarget this to the newly created hotfix/2.21.4 branch.

jwalgran commented 5 years ago

Dealing with an issue retargeting this to the hotfix branch. Will reopen.