We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The sharing on the dataset preview doesn't work anymore.
When accessing the sharing API for datasets:
http://192.168.50.50:8000/api/v1/data_sets/<UUID>/sharing/?format=json
Django is throwing the following error:
{"error_message": "'list' object has no attribute 'model'", "traceback": "Traceback (most recent call last):\n\n File \"/home/vagrant/.virtualenvs/refinery-platform/local/lib/python2.7/site-packages/tastypie/resources.py\", line 202, in wrapper\n response = callback(request, *args, **kwargs)\n\n File \"/vagrant/refinery/core/api.py\", line 295, in res_sharing\n return self.process_get(request, res, **kwargs)\n\n File \"/vagrant/refinery/core/api.py\", line 217, in process_get\n mod_res_list = self.transform_res_list(user, [res], request, **kwargs)\n\n File \"/vagrant/refinery/core/api.py\", line 139, in transform_res_list\n res_list_unique = res_list.model.__name__\n\nAttributeError: 'list' object has no attribute 'model'\n"}
The text was updated successfully, but these errors were encountered:
The issue seems to be related to https://github.com/parklab/refinery-platform/blob/develop/refinery/core/api.py#L139.
It looks like this line is related to caching. @scottx611x could you have a look?
Sorry, something went wrong.
Data import UI
f31d4d9
flekschas
No branches or pull requests
The sharing on the dataset preview doesn't work anymore.
When accessing the sharing API for datasets:
Django is throwing the following error:
The text was updated successfully, but these errors were encountered: