Ignore:
Timestamp:
May 28, 2019, 11:33:18 AM (5 years ago)
Author:
djay
Message:

Fix issue with version parameter for GetCapabilities?, issue with DescribeProcess? (version 2.0.0) and fix to build on MacOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/zoo_service_loader.c

    r921 r926  
    12401240  }else{
    12411241    checkValidValue(request_inputs,&err,"AcceptVersions",(const char**)vvv,-1);
     1242    map* tmpMap=getMapFromMaps(m,"main","version");
     1243    if(tmpMap!=NULL){
     1244      setMapInMaps(m,"main","rversion",tmpMap->value);
     1245      addToMap(request_inputs,"version",tmpMap->value);
     1246    }else{
     1247      setMapInMaps(m,"main","rversion","1.0.0");
     1248      addToMap(request_inputs,"version","1.0.0");
     1249    }
    12421250    map* version1=getMap(request_inputs,"AcceptVersions");
    12431251    if(version1!=NULL){
     
    12471255        addToMap(request_inputs,"version",version1->value);
    12481256      version=getMap(request_inputs,"version");
    1249       setMapInMaps(m,"main","rversion",version->value);
    1250       vid=getVersionId(version->value);
    12511257    }
    12521258  }
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png