Opened 14 years ago
Closed 14 years ago
#1474 closed defect (fixed)
Properties don't show up in Ajax viewer
Reported by: | gBecker | Owned by: | jng |
---|---|---|---|
Priority: | high | Milestone: | 2.2 |
Component: | AJAX Viewer | Version: | 2.2.0 |
Severity: | blocker | Keywords: | |
Cc: | trevorwekel | External ID: |
Description
Properties don't show up in Ajax viewer on servers with localized OS.
I've encountered double values with german localization in the responseText of the ajax call in line 3881 mapframe.aspx . It uses a comma as separator instead of a dot (or is it point?). This causes an error on evaluating the responseText (json) in line 3886:
var resp = eval('(' + respText + ')');
This is the content of respText:
{"flurstuecksflaechen" : [{"values" : [{"name" : "FLUR", "value" : "46" },{"name" : "GKNZ", "value" : "499" },{"name" : "NENNER", "value" : "1" },{"name" : "ZAEHLER", "value" : "37" }], "zoom" : {"x" : 3472889,12982542, "y" : 5560257,77589747}}]}
Have a look at the x- and y-coordinate of the zoom parameter!
So the solution to this problem would be to always return numbers with an unlocalized format (always dot/point).
Attachments (4)
Change History (6)
comment:1 by , 14 years ago
Cc: | added |
---|---|
Owner: | set to |
Severity: | critical → blocker |
by , 14 years ago
Attachment: | getselectedfeaturesaspx.patch added |
---|
by , 14 years ago
Attachment: | getselectedfeaturesphp.patch added |
---|
by , 14 years ago
Attachment: | getselectedfeaturesjsp.patch added |
---|
by , 14 years ago
Attachment: | getselectedfeaturesaspx.2.patch added |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Given that the 2.2 release is meant to showcase this new feature (multiple property display), I think this issue is severe enough to block the final release.