Demo requests page not using edited Body for request

View: New views
4 Messages — Rating Filter:   Alert me  

Demo requests page not using edited Body for request

by Sarah Haskins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was about to create an issue ticket for this, but I thought I should just run it by the group first to make sure I'm not misusing the UI.  Basically, it doesn't seem like the Body section of the Demo requests page is being used on submit, it seems like it is using the Request file selected as it exists on the hard drive.  Here is what I am doing...

Steps:

- go to Demos menu

- select Demo requests

- under Request, select WFS_describeFeatureType-1.1.xml
  (I have edited this file in my data directory so that it looks like this...
<DescribeFeatureType version="1.1.0" service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:doitt="http://gis.nyc.gov" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">  
    <TypeName>doitt:BOROUGH</TypeName>    
</DescribeFeatureType>

- Modify the Body section so that we are describing another table, other than Borough, like this...
<DescribeFeatureType version="1.1.0" service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:doitt="http://gis.nyc.gov" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">  
    <TypeName>doitt:SCHOOL</TypeName>    
</DescribeFeatureType>

- enter username and password

- click submit

Problem:  I am getting back a description of the BOROUGH table, not the SCHOOL table.

I see in the verbage at the top of the screen something about clicking "Change" after selecting the request type from the drop-down list, but I don't see any "Change" link or button on my screen.

Is this a real bug, should I record it in Jira?

Thanks,
Sarah

P.S. I am on geoserver 2.0.0 and have reproduced these steps in Firefox and IE.  (Chrome won't let me edit the xml at all so I couldn't try it there.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: Demo requests page not using edited Body for request

by Justin Deoliveira-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Sarah,

I was able to reproduce this one so it indeed does looks like an issue.
If you could open a jira report and schedule it for 2.0.1 that would be
much appreciated. Thanks!

-Justin

Sarah Haskins wrote:

> I was about to create an issue ticket for this, but I thought I should
> just run it by the group first to make sure I'm not misusing the UI.
>  Basically, it doesn't seem like the Body section of the Demo requests
> page is being used on submit, it seems like it is using the Request file
> selected as it exists on the hard drive.  Here is what I am doing...
>
> Steps:
>
> - go to Demos menu
>
> - select Demo requests
>
> - under Request, select WFS_describeFeatureType-1.1.xml
>   (I have edited this file in my data directory so that it looks like
> this...
> <DescribeFeatureType
> version="1.1.0" service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:doitt="http://gis.nyc.gov" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/wfs 
> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">  
>     <TypeName>doitt:BOROUGH</TypeName>    
> </DescribeFeatureType>
>
> - Modify the Body section so that we are describing another table, other
> than Borough, like this...
> <DescribeFeatureType version="1.1.0" service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:doitt="http://gis.nyc.gov" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/wfs 
> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">  
>     <TypeName>doitt:SCHOOL</TypeName>    
> </DescribeFeatureType>
>
> - enter username and password
>
> - click submit
>
> Problem:  I am getting back a description of the BOROUGH table, not the
> SCHOOL table.
>
> I see in the verbage at the top of the screen something about clicking
> "Change" after selecting the request type from the drop-down list, but I
> don't see any "Change" link or button on my screen.
>
> Is this a real bug, should I record it in Jira?
>
> Thanks,
> Sarah
>
> P.S. I am on geoserver 2.0.0 and have reproduced these steps in Firefox
> and IE.  (Chrome won't let me edit the xml at all so I couldn't try it
> there.
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: Demo requests page not using edited Body for request

by Sarah Haskins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is my first ticket, I hope I filled everything out correctly... http://jira.codehaus.org/browse/GEOS-3616

On Fri, Oct 30, 2009 at 4:10 AM, Justin Deoliveira <jdeolive@...> wrote:
Hi Sarah,

I was able to reproduce this one so it indeed does looks like an issue. If you could open a jira report and schedule it for 2.0.1 that would be much appreciated. Thanks!

-Justin

Sarah Haskins wrote:
I was about to create an issue ticket for this, but I thought I should just run it by the group first to make sure I'm not misusing the UI.  Basically, it doesn't seem like the Body section of the Demo requests page is being used on submit, it seems like it is using the Request file selected as it exists on the hard drive.  Here is what I am doing...

Steps:

- go to Demos menu

- select Demo requests

- under Request, select WFS_describeFeatureType-1.1.xml
 (I have edited this file in my data directory so that it looks like this...
<DescribeFeatureType version="1.1.0" service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:doitt="http://gis.nyc.gov" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">      <TypeName>doitt:BOROUGH</TypeName>    </DescribeFeatureType>

- Modify the Body section so that we are describing another table, other than Borough, like this...
<DescribeFeatureType version="1.1.0" service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:doitt="http://gis.nyc.gov" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">      <TypeName>doitt:SCHOOL</TypeName>    </DescribeFeatureType>

- enter username and password

- click submit

Problem:  I am getting back a description of the BOROUGH table, not the SCHOOL table.

I see in the verbage at the top of the screen something about clicking "Change" after selecting the request type from the drop-down list, but I don't see any "Change" link or button on my screen.

Is this a real bug, should I record it in Jira?

Thanks,
Sarah

P.S. I am on geoserver 2.0.0 and have reproduced these steps in Firefox and IE.  (Chrome won't let me edit the xml at all so I couldn't try it there.


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference


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

_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: Demo requests page not using edited Body for request

by Andrea Aime-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sarah Haskins ha scritto:
> This is my first ticket, I hope I filled everything out
> correctly... http://jira.codehaus.org/browse/GEOS-3616

It is properly filled, thanks for doing that :-)

Cheers
Andrea

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users