---------- Forwarded message ----------
From:
Marc Pfister <marc.p...@gmail.com>
Date: Mon, Oct 22, 2012 at 2:35 PM
Subject: Fwd: Suite SDK minimizer seems to mess up FeatureEdit tool
To: Matt Priour <
mpr...@opengeo.org>
---------- Forwarded message ----------
From: Marc Pfister <
marc.p...@gmail.com>
Date: Mon, Oct 22, 2012 at 1:22 PM
Subject: Suite SDK minimizer seems to mess up FeatureEdit tool
To:
j...@opengeo.org
My (well, yours too) Suite SDK app works fine when running on the
local debug server. When I deploy it to a production Tomcat server
(
hiu.dev.opengeo.org) the FeatureEdit tool stops working, because the
WFS writer can't find the projection of the OpenLayers vector layer
used to draw the feature. I can make things work by hacking
DrawControl.js to check to see if the feature's layer's projection is
null and then if so, setting it to the projection of the layer's map.
The code is also in
https://github.com/drwelby/image_app if you want
to test locally.
- Marc