Opened 14 years ago

Closed 14 years ago

#2296 closed bug (fixed)

PostGIS new connection SSLmode options in wrong order

Reported by: smizuno Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.4.0
Component: Data Provider Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

The allow and require options are reversed. Allow actually is require and require is allow when sent to the PG database.

In qgsnewconnection.cpp in the constructor (about line 37) where the combobox is populated, the items must be inserted in the desired order (perhaps addItem() would be better), as the index only controls where in the list an item is inserted, not its absolute position.

The desired order as listed in the enum for SSLmode is: prefer, disable, allow, require.

Change History (1)

comment:1 by jef, 14 years ago

Resolution: fixed
Status: newclosed

fixed in r12520

Note: See TracTickets for help on using tickets.