Opened 14 years ago

Closed 14 years ago

#3020 closed bug (invalid)

Possibly obsolete error message for field functions min/max on string field

Reported by: volter Owned by: jef
Priority: minor: annoyance Milestone: Version 1.6.0
Component: Vectors Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

{{{ ERROR 1: SQL: Use of field function MIN() on string field arrival illegal.

ERROR 1: SQL: Use of field function MAX() on string field arrival illegal. }}}

Using QgsVectorDataProvider's maximumValue or minimumValue methods raises above error messages, when used on strings. It's working nevertheless. I assume, these error messages are no longer valid.

Change History (1)

comment:1 by jef, 14 years ago

Resolution: invalid
Status: newclosed

The OGR functions are still invoked, but if they fail the "standard" implementation is used. So the error message should simply be ignored.

Note: See TracTickets for help on using tickets.