#34486: SearchVector.as_sql causes AttributeError
----------------------------------+--------------------------------------
Reporter: Scott Macpherson | Owner: (none)
Type: Bug | Status: closed
Component: contrib.postgres | Version: 4.2
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by Mariusz Felisiak):
Replying to [comment:4 Scott Macpherson]:
> I can't work out why the tests in `SearchHeadlineTests` don't capture
this - could it have something to do with the way connections are reused
in the tests, but not for a cold request?
I'm not sure how it is possible that you reach this point without a
connection. Can you provide a regression test or a small project that
reproduces the issue?
--
Ticket URL: <https://code.djangoproject.com/ticket/34486#comment:5>
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/01070187747352d6-de0e7f54-9309-4e9b-9215-6b43b554efd2-000000%40eu-central-1.amazonses.com.