#35740: file_storage.tests.FileFieldStorageTests.test_extended_length_storage 
fails
when bcachefs is in use
-------------------------------------+-------------------------------------
     Reporter:  Alyssa Ross          |                    Owner:  (none)
         Type:  Bug                  |                   Status:  closed
    Component:  File                 |                  Version:  4.2
  uploads/storage                    |
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * resolution:   => needsinfo
 * status:  new => closed

Comment:

 Increasing the `max_length` for `extended_length` might work but I can't
 find what this number should be for [https://bcachefs.org/ bcachefs].
 {{{#!diff
 --- a/tests/file_storage/models.py
 +++ b/tests/file_storage/models.py
 @@ -80,5 +80,5 @@ class Storage(models.Model):
          storage=temp_storage, upload_to="tests", max_length=20
      )
      extended_length = models.FileField(
 -        storage=temp_storage, upload_to="tests", max_length=300
 +        storage=temp_storage, upload_to="tests", max_length=2000
      )
 }}}

 Can you share what `_storage_max_filename_length` returns for you?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35740#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070191d733abdb-a4f7233e-7299-470f-8240-a4fcf15c2aeb-000000%40eu-central-1.amazonses.com.

Reply via email to