#8162: Increase Permission.name max_length
---------------------------------+-------------------------------------
     Reporter:  juliae           |                    Owner:  wilsoniya
         Type:  Bug              |                   Status:  assigned
    Component:  contrib.auth     |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:  schemamigration  |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+-------------------------------------

Comment (by russellm):

 @tomek … and yet, in all the time that this critical, mind-numbingly
 catastrophic bug has been in existence, Django has managed to grow in
 popularity, and I'm having difficulty recalling the last time the topic
 was raised on a mailing list for discussion.

 There's a very good reason that this has bug has been unresolved for so
 long - in the grand scheme of things, it isn't a huge problem. Yes, this
 is a bug. However, it's a bug that only manifests if you have very long
 table names and/or permission names, and even then, it the problem should
 be revealed by a fairly cursory testing regimen. There is a known
 workaround if you have this problem in practice - manually update the
 table. And we have a proposed fix - we are just waiting on the
 introduction of migrations. Contrast this with the wide range of known
 problems that don't have workarounds, or manifest in common, subtle, or
 untestable ways, or the feature improvements that have been used by *many*
 more people than have been affected by this issue.

 Now that we have migrations, we can look at implementing a formal fix for
 this, and the other handful of schema-size related issues (e.g., the
 length of the email field in the default User model). If this really is a
 problem that you can't bear to look at, now would be a good time to look
 at contributing a fix.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/8162#comment:29>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.9db9f5b6f03796fe16fb077d0ce6cf16%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to