Bug report #16826

Range widget: ridiculously large minimum and maximum values

Added by Andreas Neumann over 7 years ago. Updated almost 6 years ago.

Status:Feedback
Priority:Low
Assignee:-
Category:Edit widget
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:24725

Description

For an attribute with a Postgis data type of numeric(9.3) the range edit widgets suggests ridiculously large minimum and maximum values:

Min: 179769000000000006323030492138942643493033036433685336215410983289126434148906289940615299632196609445533816320312774433484859900046491141051651091672734470972759941382582304802812882753059262973637182942535982636884444611376868582636745405553206881859340916340092953230149901406738427651121855107737424232448

Max:
179769000000000006323030492138942643493033036433685336215410983289126434148906289940615299632196609445533816320312774433484859900046491141051651091672734470972759941382582304802812882753059262973637182942535982636884444611376868582636745405553206881859340916340092953230149901406738427651121855107737424232448

In my opinion, something more reasonable should be piced as defaults.

range_widget_data_type_zukm.png - The data type of the concerned attribute (124 KB) Andreas Neumann, 2017-07-10 10:37 AM

range_widget_large_min_max_values.png - Range widget: ridiculously large min / max values (63 KB) Andreas Neumann, 2017-07-10 10:37 AM

History

#1 Updated by Andreas Neumann over 7 years ago

Andreas Neumann wrote:

For an attribute with a Postgis data type of numeric(9.3) the range edit widgets suggests ridiculously large minimum and maximum values:

Min: 179769000000000006323030492138942643493033036433685336215410983289126434148906289940615299632196609445533816320312774433484859900046491141051651091672734470972759941382582304802812882753059262973637182942535982636884444611376868582636745405553206881859340916340092953230149901406738427651121855107737424232448

Max:
179769000000000006323030492138942643493033036433685336215410983289126434148906289940615299632196609445533816320312774433484859900046491141051651091672734470972759941382582304802812882753059262973637182942535982636884444611376868582636745405553206881859340916340092953230149901406738427651121855107737424232448

In my opinion, something more reasonable should be chosen as defaults.

#2 Updated by Andreas Neumann over 7 years ago

  • Subject changed from Range widget: ridulously large minimum and maximum values to Range widget: ridiculously large minimum and maximum values

#3 Updated by Giovanni Manghi almost 6 years ago

  • Status changed from Open to Feedback

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

Also available in: Atom PDF