Fwd: Suite SDK minimizer seems to mess up FeatureEdit tool

5 views
Skip to first unread message

Matt Priour

unread,
Oct 22, 2012, 3:43:14 PM10/22/12
to j...@opengeo.org


---------- 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



--
Matt Priour
Expert service straight from the developers

Tim Schaub

unread,
Oct 22, 2012, 6:47:52 PM10/22/12
to j...@opengeo.org
When I revert his "hack for minifier"
(https://github.com/drwelby/image_app/commit/34c522ca0a65bf13fcd4d8ee73be97d5d84c3c1d)
I see the same failure in debug mode that I expect Marc saw in the
deployed app (before the hack).

Is Marc working on a project for us?

Tim
> --
> http://groups.google.com/a/opengeo.org/group/js



--
Tim Schaub
OpenGeo http://opengeo.org/
Expert service straight from the developers.

Jeffrey Johnson

unread,
Oct 22, 2012, 6:52:14 PM10/22/12
to j...@opengeo.org
On Mon, Oct 22, 2012 at 3:47 PM, Tim Schaub <tsc...@opengeo.org> wrote:
> When I revert his "hack for minifier"
> (https://github.com/drwelby/image_app/commit/34c522ca0a65bf13fcd4d8ee73be97d5d84c3c1d)
> I see the same failure in debug mode that I expect Marc saw in the
> deployed app (before the hack).
>
> Is Marc working on a project for us?

Yep, trying to finish up the state department GXP app so we can hand
it off and be finished with that contract.

https://github.com/drwelby/image_app
> --
> http://groups.google.com/a/opengeo.org/group/js

Jeffrey Johnson

unread,
Oct 22, 2012, 6:53:09 PM10/22/12
to j...@opengeo.org
On Mon, Oct 22, 2012 at 3:52 PM, Jeffrey Johnson <jjoh...@opengeo.org> wrote:
> On Mon, Oct 22, 2012 at 3:47 PM, Tim Schaub <tsc...@opengeo.org> wrote:
>> When I revert his "hack for minifier"
>> (https://github.com/drwelby/image_app/commit/34c522ca0a65bf13fcd4d8ee73be97d5d84c3c1d)
>> I see the same failure in debug mode that I expect Marc saw in the
>> deployed app (before the hack).
>>
>> Is Marc working on a project for us?
>
> Yep, trying to finish up the state department GXP app so we can hand
> it off and be finished with that contract.
>
> https://github.com/drwelby/image_app

Deployed here http://hiu.dev.opengeo.org/
Reply all
Reply to author
Forward
0 new messages