posm / OpenMapKitServer

OpenMapKit Server is the lightweight server component of OpenMapKit that handles the collection and aggregation of OpenStreetMap and OpenDataKit data.
http://openmapkit.org
BSD 3-Clause "New" or "Revised" License
46 stars 25 forks source link

upload first xlsform #99

Closed danielduhh closed 7 years ago

danielduhh commented 7 years ago

Uploading the first xls form in /forms directory throws .forEach not a function error. This makes sure result.xforms.xform is an array

hallahan commented 7 years ago

@danielduhh - What is different about how you are uploading the xlsx file from before? What action creates this error?

danielduhh commented 7 years ago

@hallahan Not sure whats different.. However, when I installed OMK Server from scratch with no data, this error occurred

hallahan commented 7 years ago

OK, I'll give your change a try and merge if it is fine. It shouldn't change existing behavior, so we're probably ok.

hallahan commented 7 years ago

Works. Merging!