#24744: hstore lookup fails inside subquery ----------------------------------+------------------------------------ Reporter: mrAdm | Owner: Type: Bug | Status: new Component: contrib.postgres | Version: 1.8 Severity: Release blocker | Resolution: Keywords: hstore | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------------+------------------------------------
Comment (by mjtamlyn): I would love a better list of all the things we should have (and generally a much more accurate set of lookup/transform/expression to field mappings). A possible answer would be to have a TestCase mixin with many `test_foo` methods raising `NotImplementedError`. We may also want a metaclass though to be able to explicitly remove `test_bar` where the feature `bar` does not apply, rather than skipping it. This would have the advantage that when you add a test to the base mixin for a new generic lookup/expression/whatever then it gets tested on all field types, and you see the ones it fails on (and on which dbs). AFAIK there are not `relabeled_clone` methods in `contrib.postgres` at present, so any `Transform` therein which takes args is potentially suspect. -- Ticket URL: <https://code.djangoproject.com/ticket/24744#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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/063.96baf0aa71da3bcc616bf60e374e2438%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.