django-cms / django-filer

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

Copy folder is broken after mptt removal #1392

Closed protoroto closed 1 year ago

protoroto commented 1 year ago

After django-mptt removal, https://github.com/django-cms/django-filer/blob/master/filer/admin/folderadmin.py#L1083 this will fail as insert_at is a django-mptt method.

I'll open a pr right now with two commits, one with a regression test (folder copying was never tested) and one with the fix.

I'm not sure if it is the right way of doing things, please tell me if something is wrong.