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

Warn user if uuid is not passed to the data package creator #11

Open
cpina opened this issue Oct 27, 2020 · 0 comments
Open

Warn user if uuid is not passed to the data package creator #11

cpina opened this issue Oct 27, 2020 · 0 comments

Comments

@cpina
Copy link
Collaborator

cpina commented Oct 27, 2020

schema-collaboration launches data package creator UI with the uuid parameter and source parameters:

https://carles.eu.pythonanywhere.com/static/datapackage-ui/index.html?load=e1138a06-05fa-4261-9220-eb58139937f4&source=/management/

If they don't exist the behaviour is undefined. Currently data package creator UI is not giving any user feedback but in the Javascript console there are exceptions and network requests like:
GET https://carles.eu.pythonanywhere.com/api/datapackage/null/
PUT https://carles.eu.pythonanywhere.com/api/datapackage/null/

From schema-collaboration the datapackage-ui should never be called without uuid/source. But if it does (bug in schema-collaboration or a user changing the URL) it should probably fail earlier or give a notification.

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

No branches or pull requests

1 participant