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

Compatibility Issue with django-storages 1.14.4 #434

Open
krystofbe opened this issue Jul 13, 2024 · 2 comments
Open

Compatibility Issue with django-storages 1.14.4 #434

krystofbe opened this issue Jul 13, 2024 · 2 comments

Comments

@krystofbe
Copy link
Contributor

Hi,

I wanted to bring to your attention a compatibility issue that arises when using django-healthcheck in conjunction with django-storages version 1.14.4.

Description

After upgrading django-storages from 1.14.3 to 1.14.4, django-healthcheck tests that involve file existence checks started failing. The tests report that files cannot be found even though they were saved successfully. This seems to be due to a change in the behavior of the exists() method in django-storages as described in this issue.

Steps to Reproduce

  1. Use django-healthcheck to run tests involving file storage.
  2. Upgrade django-storages from 1.14.3 to 1.14.4.
  3. Run the tests again and observe the failures indicating missing files.

Expected Behavior

Tests should pass as they did with django-storages 1.14.3, with the exists() method correctly identifying saved files.

Actual Behavior

Tests fail, reporting that files cannot be found immediately after they are saved.

Temporary Solution

Downgrading django-storages to 1.14.3 resolves the issue, but this is not a long-term solution due to the security patches included in 1.14.4.

@verbosus
Copy link

verbosus commented Sep 18, 2024

Also running into this bug, also had to downgrade to django-storages 1.14.3.

@daronzwink
Copy link

Also running into this bug, thanks for logging and will temporarily downgrade to django-storages 1.14.3 until there is a fix.

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

3 participants