Re: [Django] #35162: Adding a BinaryField, TextField, JSONField, or GeometryField with a db_default crashes on MySQL

2024-02-04 Thread Django
#35162: Adding a BinaryField, TextField, JSONField, or GeometryField with a
db_default crashes on MySQL
-+-
 Reporter:  Simon Charette   |Owner:  Simon
 |  Charette
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  5.0
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  mysql db_default | Triage Stage:  Ready for
  text json blob geometry|  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Comment (by Mariusz Felisiak ):

 In [changeset:"3e7a30fb3a5ea38d06bbedd53e2130bf192425c7" 3e7a30fb]:
 {{{#!CommitTicketReference repository=""
 revision="3e7a30fb3a5ea38d06bbedd53e2130bf192425c7"
 [5.0.x] Fixed #35162 -- Fixed crash when adding fields with db_default on
 MySQL.

 MySQL doesn't allow literal DEFAULT values to be used for BLOB, TEXT,
 GEOMETRY or JSON columns and requires expression to be used instead.

 Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3.

 Backport of dfc77637ea5c1aa81caa72b1cf900e6931d61b54 from main
 }}}
-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d733866bc-a94656e2-bb6d-44da-ac66-fb6e56901692-00%40eu-central-1.amazonses.com.


Re: [Django] #35162: Adding a BinaryField, TextField, JSONField, or GeometryField with a db_default crashes on MySQL

2024-02-04 Thread Django
#35162: Adding a BinaryField, TextField, JSONField, or GeometryField with a
db_default crashes on MySQL
-+-
 Reporter:  Simon Charette   |Owner:  Simon
 |  Charette
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  5.0
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  mysql db_default | Triage Stage:  Ready for
  text json blob geometry|  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak ):

 * status:  assigned => closed
 * resolution:   => fixed

Comment:

 In [changeset:"dfc77637ea5c1aa81caa72b1cf900e6931d61b54" dfc77637]:
 {{{#!CommitTicketReference repository=""
 revision="dfc77637ea5c1aa81caa72b1cf900e6931d61b54"
 Fixed #35162 -- Fixed crash when adding fields with db_default on MySQL.

 MySQL doesn't allow literal DEFAULT values to be used for BLOB, TEXT,
 GEOMETRY or JSON columns and requires expression to be used instead.

 Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3.
 }}}
-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d7337f06d-78954d6c-6899-489d-bd62-d503e3be3460-00%40eu-central-1.amazonses.com.


Re: [Django] #35162: Adding a BinaryField, TextField, JSONField, or GeometryField with a db_default crashes on MySQL

2024-02-03 Thread Django
#35162: Adding a BinaryField, TextField, JSONField, or GeometryField with a
db_default crashes on MySQL
-+-
 Reporter:  Simon Charette   |Owner:  Simon
 |  Charette
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  5.0
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  mysql db_default | Triage Stage:  Ready for
  text json blob geometry|  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * stage:  Accepted => Ready for checkin

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d702b317e-63e584f1-cb43-4adc-aadd-aa195fcbe3f9-00%40eu-central-1.amazonses.com.


Re: [Django] #35162: Adding a BinaryField, TextField, JSONField, or GeometryField with a db_default crashes on MySQL

2024-02-03 Thread Django
#35162: Adding a BinaryField, TextField, JSONField, or GeometryField with a
db_default crashes on MySQL
-+-
 Reporter:  Simon Charette   |Owner:  Simon
 |  Charette
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  5.0
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  mysql db_default | Triage Stage:  Accepted
  text json blob geometry|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * has_patch:  0 => 1
 * stage:  Unreviewed => Accepted

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018d702afced-584315ed-b562-4637-a13c-a0f092ebd3c3-00%40eu-central-1.amazonses.com.