django-cms / django-filer

File and Image Management Application for django
https://django-filer.readthedocs.io/
Other
1.76k stars 577 forks source link

Choose file popup doesn't select image, it exits with no image selected #1317

Closed ivandir closed 1 year ago

ivandir commented 2 years ago

Choose file popup doesn't select image with Django 4.1.1. I kept downgrading based on django-filer dependency and the following worked.

Downgrading to 2.2.2 selected Django 4.0.7 - this worked Upgrading to 2.2.3 and forcing Django 4.0.7 - this worked and one I'm currently using

Don't upgrade to to 2.2.3 and forcing Django 4.1.1 - this is broken

rezamazarloo commented 1 year ago

i have the same issue.

rezamazarloo commented 1 year ago

in my case the problem does not solve by downgrading. i think the problem is somewhere else. i can upload image with drag and drop but the choose file doesn't select any image when i select an image, nothing happens and it seems the image is not selected in django admin.

linhvng commented 1 year ago

I'm using Django 4.1.3 and have the same issue. I can upload by drag and drop the image but cannot choose already uploaded files.

fsbraun commented 1 year ago

Django filer does not yet support Dango 4.1. There's a pull request adding 4.1 support (#1321).

Can you test if the issue remains if you use this version: pip install git+https::/github.com/fsbraun/django-filer@feat/django-4-1?

fsbraun commented 1 year ago

@linhvng @rezamazarloo @ivandir Could you check if the latest master branch solves your issue? You can install it using pip install git+https://github.com/django-cms/django-filer@master#egg=djangocms-filer. It you be great if #1326 solved your issue!

yomguy commented 1 year ago

Resolved in my case using the current master branch against Django 4.1 with:

poetry add git+https://github.com/django-cms/django-filer

thanks @fsbraun !

fsbraun commented 1 year ago

@marksweb @jrief Should we put this into a minor release?

marksweb commented 1 year ago

@fsbraun yeah that sounds sensible to me

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This will now be closed due to inactivity, but feel free to reopen it.