[Geoserver-users] WFS and outputFormat json

Hi,
I have seen that in latest 2.2.x nightlies, the outputFormat=json for WFS GetFeature request is no more supported (I’m getting an error), application/json is working fine, instead (but this was throwing an error on previous 2.2.x versions).

Can this be considered a bug, for the 2.2.x series, or do I need to change my code to support the new type?

Thanks.
Mauro Bartolomeoli

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Wed, Feb 6, 2013 at 6:51 PM, Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com> wrote:

Hi,
I have seen that in latest 2.2.x nightlies, the outputFormat=json for WFS GetFeature request is no more supported (I’m getting an error), application/json is working fine, instead (but this was throwing an error on previous 2.2.x versions).

Can this be considered a bug, for the 2.2.x series, or do I need to change my code to support the new type?

It is a bug imho, we cannot have a output format people are used to disappear just like that.
I believe I’ve discussed this with Carlo, and he prepared a patch to re-instate the “json” format…
but maybe the patches in question did not land on 2.2.x?
Carlo, do you remember?

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


I can try installing a new nightly. The one I’m using is from a week ago, or so. Tomorrow I’ll try to update, and let you know if the problem persists.

Thanks

···

2013/2/6 Andrea Aime <andrea.aime@anonymised.com>

On Wed, Feb 6, 2013 at 6:51 PM, Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com> wrote:

Hi,
I have seen that in latest 2.2.x nightlies, the outputFormat=json for WFS GetFeature request is no more supported (I’m getting an error), application/json is working fine, instead (but this was throwing an error on previous 2.2.x versions).

Can this be considered a bug, for the 2.2.x series, or do I need to change my code to support the new type?

It is a bug imho, we cannot have a output format people are used to disappear just like that.
I believe I’ve discussed this with Carlo, and he prepared a patch to re-instate the “json” format…
but maybe the patches in question did not land on 2.2.x?
Carlo, do you remember?

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


I did a quick check on the latest nightly, and it seems that now both json and application/json are acctepted as valid formats.

Thank you.
Mauro

···

2013/2/6 Andrea Aime <andrea.aime@…1107…>

On Wed, Feb 6, 2013 at 6:51 PM, Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com> wrote:

Hi,
I have seen that in latest 2.2.x nightlies, the outputFormat=json for WFS GetFeature request is no more supported (I’m getting an error), application/json is working fine, instead (but this was throwing an error on previous 2.2.x versions).

Can this be considered a bug, for the 2.2.x series, or do I need to change my code to support the new type?

It is a bug imho, we cannot have a output format people are used to disappear just like that.
I believe I’ve discussed this with Carlo, and he prepared a patch to re-instate the “json” format…
but maybe the patches in question did not land on 2.2.x?
Carlo, do you remember?

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


On Thu, Feb 7, 2013 at 2:03 PM, Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com> wrote:

I did a quick check on the latest nightly, and it seems that now both json and application/json are acctepted as valid formats.

Nice, thanks for confirming

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it