[Qgis-developer] hub.qgis.org error

Régis Haubourg regis.haubourg at eau-adour-garonne.fr
Thu Jul 9 10:16:38 PDT 2015


Tested again at home with MacOs and chrome, same error:


See following post request, where fixed_version_id variable is set to 124: 
Idea's?

---------------------

Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip, deflate
Accept-Language:fr,en-US;q=0.8,en;q=0.6
Cache-Control:max-age=0
Connection:keep-alive
Content-Length:3945
Content-Type:multipart/form-data;
boundary=----WebKitFormBoundarypdYeMHjxAnm12Pwe
Cookie:_redmine_session=BAh7CjoKcXVlcnl7CToMZmlsdGVyc3sGIg5zdGF0dXNfaWR7BzoNb3BlcmF0b3IiBm86C3ZhbHVlc1sGIgA6D3Byb2plY3RfaWRpFjoNZ3JvdXBfYnkwOhFjb2x1bW5fbmFtZXMwOg9zZXNzaW9uX2lkIiU4MmVjMmM0ZTVjOGE5NzgzNGY5NTM1NmE0NmVjNDkyYiIWaXNzdWVzX2luZGV4X3NvcnQiDGlkOmRlc2M6DHVzZXJfaWRpAt0DOhBfY3NyZl90b2tlbiIxaDhUNGpCaCt3YmhyamNHeGhYSndHZWo5anJWWm9HcHloN3FKNlRLdk9jaz0%3D--bbf7bb5b766fe224faf074346654cc7e78bbcb55
Host:hub.qgis.org
Origin:http://hub.qgis.org
Referer:http://hub.qgis.org/projects/quantum-gis/issues/new
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36
Request Payload
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="authenticity_token"

h8T4jBh+wbhrjcGxhXJwGej9jrVZoGpyh7qJ6TKvOck=
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[tracker_id]"

1
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[subject]"

Postgis features randomly mixes NULL and 0 values in one field
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[description]"

we discovered quite a nasty issue here, probably here for a long time but I
could'nt reproduce it correctly before. 

With postgis tables or views, when numeric fields (tested with int, real and
numeric) bears null values, and also 0 values, NULLs and zeroes are mixed
randomly, at some zoom or pan levels only! 

we got aware of this because of rendering rules : 
-With categorized renderer, styling and labeing change, which is more than
weird. 
-With graduated renderer, features simply disappear because NULL values
can't be rendered in a class because it requires numeric values. 

But that seems to come from provider since we have a nice effect on
attribute table: 
 -We clearly see those value changes in attribute tables 
 -When filtering attribute table on visible features in mapcanvas extent,
those renderer with NULL just don't appear! 


See the video here :  http://youtu.be/kDip8wEeXxU?hd=1

reproduced on 2.8.2 too,  but not on 2.6.1. 

Not putting it as a blocker, because it seems a rare use case, but certainly
a "must fix", and probably deserves backports. 

Cheers 
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[status_id]"

1
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[priority_id]"

4
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[assigned_to_id]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[category_id]"

29
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[fixed_version_id]"

124
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[start_date]"

2015-07-09
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[due_date]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[estimated_hours]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[done_ratio]"

0
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[custom_field_values][2]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[custom_field_values][3]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[custom_field_values][4]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[custom_field_values][5]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[custom_field_values][8]"

0
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[custom_field_values][9]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[custom_field_values][10]"

0
------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="issue[custom_field_values][11]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="attachments[1][file]"; filename=""
Content-Type: application/octet-stream


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="attachments[1][description]"


------WebKitFormBoundarypdYeMHjxAnm12Pwe
Content-Disposition: form-data; name="commit"

Créer
------WebKitFormBoundarypdYeMHjxAnm12Pwe--



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/hub-qgis-org-error-tp5215063p5215103.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list