Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not load multiple line-by-line json tasks #490

Open
Zverik opened this issue Feb 2, 2019 · 2 comments
Open

Does not load multiple line-by-line json tasks #490

Zverik opened this issue Feb 2, 2019 · 2 comments

Comments

@Zverik
Copy link
Contributor

Zverik commented Feb 2, 2019

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

@Zverik Zverik changed the title Does not load multiple json-on-lines tasks Does not load multiple line-by-line json tasks Feb 2, 2019
@Zverik
Copy link
Contributor Author

Zverik commented Feb 6, 2019

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.

@mgcuthbert
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants