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

Error when trying to view a data file without a content blob #2139

Closed
stuzart opened this issue Feb 12, 2025 · 0 comments
Closed

Error when trying to view a data file without a content blob #2139

stuzart opened this issue Feb 12, 2025 · 0 comments
Assignees
Milestone

Comments

@stuzart
Copy link
Member

stuzart commented Feb 12, 2025

An ActionView::Template::Error occurred in data_files#show:

  undefined method `is_unzippable_datafile?' for nil:NilClass

    content_blob.is_unzippable_datafile?
                ^^^^^^^^^^^^^^^^^^^^^^^^
  app/models/data_file.rb:122:in `zipped_folder?'

Also check and add a test for editing a datafile with nil content blob

@stuzart stuzart added this to the 1.16.1 milestone Feb 12, 2025
@stuzart stuzart moved this to In progress in SEEK 1.16.x Feb 12, 2025
@stuzart stuzart self-assigned this Feb 12, 2025
stuzart added a commit that referenced this issue Feb 12, 2025
stuzart added a commit that referenced this issue Feb 14, 2025
@stuzart stuzart moved this from In progress to Done in SEEK 1.16.x Feb 18, 2025
@stuzart stuzart closed this as completed by moving to Done in SEEK 1.16.x Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant