#26468: Bug in models.functions.ConcatPair for sqlite
-------------------------------+--------------------
     Reporter:  jerch          |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  1.8
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 Concat is not working for me due to this line in
 models.functions.ConcatPair.coalesce:

 {{{
 Coalesce(expression, Value('')) for expression in
 c.get_source_expressions()
 }}}

 With a minor change it works as intended:

 {{{
 Coalesce(expression, Value('""')) for expression in
 c.get_source_expressions()
 }}}

 Tested with Django 1.8.12 under Ubuntu with sqlite 3.8.2-1ubuntu2.1.

--
Ticket URL: <https://code.djangoproject.com/ticket/26468>
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/048.6ea0ba136c7f3d517b777d00338576e1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to