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

Change debug notice to identify non-downloadable gdrive files #6871

Merged
merged 2 commits into from
Mar 15, 2016

Conversation

iriberri
Copy link
Contributor

In previous PRs: #6855
(Return nil for invalid files + report a debug message when it occurred)

People can share files in GDrive and select in the advanced sharing
options that the users with which these files are shared are not
authorized to download the files. This was causing CartoDB to crash, as
it was expecting a DownloadUrl or an ExportLink, and in this
"non-downloadable" scenario none of the options is available for the
item.

In this case, we just ignore the non-downloadable files and list the
rest of the files. In case we need to debug this in the future, the
non-downloadable debug message can be found at the notifier.

Closes #6854

iriberri and others added 2 commits March 14, 2016 18:18
People can share files in GDrive and select in the advanced sharing
options that the users with which these files are shared are not
authorized to download the files. This was causing CartoDB to crash, as
it was expecting a DownloadUrl or an ExportLink, and in this
"non-downloadable" scenario none of the options is available for the
item.

In this case, we just ignore the non-downloadable files and list the
rest of the files. In case we need to debug this in the future, the
non-downloadable debug message can be found at the notifier.
@iriberri
Copy link
Contributor Author

cc @jgoizueta ;)

@jgoizueta
Copy link
Contributor

👍

iriberri pushed a commit that referenced this pull request Mar 15, 2016
Change debug notice to identify non-downloadable gdrive files
@iriberri iriberri merged commit 0e1dabd into master Mar 15, 2016
@iriberri iriberri deleted the 6854-non_downloadable_gdrive_files branch March 15, 2016 10:27
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

Successfully merging this pull request may close these issues.

2 participants