maproulette-backend icon indicating copy to clipboard operation
maproulette-backend copied to clipboard

Does not load multiple line-by-line json tasks

Open Zverik opened this issue 7 years ago • 2 comments

Try importing this challenge of seven tasks: only the first one loads, despite the number going up to 7 on the loading screen.

Zverik avatar Feb 02 '19 14:02 Zverik

Okay, found the reason. All features in each feature collection have names. So taskNameFromJsValue finds the same name for each task. And does not add any subsequent tasks after the first.

I've bypassed this by adding a semi-fake "id" field, but still this is not obvious. I wonder if this needs to be addressed either in documentation, or in a warning message in the UI.

Zverik avatar Feb 06 '19 13:02 Zverik

I think both documentation and a warning message in the UI should be required, so thank you for bringing this up. For the JSON is there a specific reason why there was a name property with the same value in each feature collection. The obvious (however possibly not feasible) solution would be simply to modify the name.

mgcuthbert avatar Feb 06 '19 21:02 mgcuthbert