Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#14517 closed (fixed)

_supports_stddev checks for wrong exception

Reported by: agabel Owned by: agabel
Component: Database layer (models, ORM) Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


STDDEV_POP SQL function is not supported in PostgreSQL <= 8.1 so a NotImplementedError exception is raised. The try: is looking for a DatabaseError exception instead of the NotImplementedError so self.supports_stddev never gets set to False.

Attachments (1)

14517_patch.diff (433 bytes) - added by agabel 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by agabel

comment:1 Changed 5 years ago by agabel

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Ready for checkin

This is pretty trivial so I'm going to go ahead to set it to ready for checkin.

comment:2 Changed 5 years ago by Alex

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [14375].

comment:3 Changed 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top