On Fri, Sep 28, 2012 at 9:40 AM, Ben Caradoc-Davies <
[email protected]> wrote:

> On 18/09/12 16:54, Andrea Aime wrote:
>
>> Ha, good question, have no idea, have you tried setting a breakpoint in
>> that portion of the dispatcher and see
>> what's going on?
>> Also put a breakpoint in setCiteCompliant, the dispatcher has to
>> manually be set that way by a
>> interceptor, normally the CiteComplianceHack class (located in main, and
>> configured as an
>> interceptor in the url mappings of the service being used)
>>
>
> I have found it. Nothing to do with CITE compliance, which is always
> false. The new code that Andrea added is never entered. It is just a lucky
> coincidence that this change led me to the workaround.
>
> The cause of the test failure is a change to the bean configuration for
> propertyName11KvpParser in src/wfs/src/main/java/**applicationContext.xml
> that could have a broad impact on WFS requests that specify propertyName
> and version without specifying service. I do not know what this change was
> meant to do, or why it has this effect. I am not even sure what the bean
> does!
>
>
PropertyName is also a parameter for CSW GetDomain but has an entirely
different meaning, and we need a separate
parser for it. The only way to have service specific parsers is to declare
the service property on them, making them
activate only when a matching service is specified.

If we don't want to break backwards compatibility we can have the CSW one
declare the service, and the WFS one
not, so that when no service is specified the WFS one triggers anyways

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

-------------------------------------------------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to