[Mapbender-commits] r9753 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Jul 24 08:44:40 PDT 2017
Author: armin11
Date: 2017-07-24 08:44:40 -0700 (Mon, 24 Jul 2017)
New Revision: 9753
Modified:
trunk/mapbender/http/classes/class_metadata_new.php
Log:
Rewind change, cause there is problem with some wfs-conf's
Modified: trunk/mapbender/http/classes/class_metadata_new.php
===================================================================
--- trunk/mapbender/http/classes/class_metadata_new.php 2017-07-24 15:09:24 UTC (rev 9752)
+++ trunk/mapbender/http/classes/class_metadata_new.php 2017-07-24 15:44:40 UTC (rev 9753)
@@ -714,7 +714,8 @@
$featuretypeCount = 0;
foreach ($this->datasetJSON->dataset->srv[$i]->coupledResources->featuretype as $ft) {
//$e = new mb_exception($ft->id ." in service: ". $featuretypeSearchArray[$ft->id]);
- $this->datasetJSON->dataset->srv[$i]->coupledResources->featuretype[$featuretypeCount]->srv = json_decode($coupledFeaturetypes->internalResult)->wfs->srv[$featuretypeSearchArray[$ft->id]];
+ $this->datasetJSON->dataset->srv[$i]->coupledResources->featuretype[$featuretypeCount]->srv = json_decode($coupledFeaturetypes->internalResult, true)->wfs->srv[$featuretypeSearchArray[$ft->id]];
+ //TODO check why featuretypes are not shown in the resultset - $this->datasetJSON->dataset->srv[$i]->coupledResources->featuretype[$featuretypeCount]->srv = json_decode($coupledFeaturetypes->internalResult)->wfs->srv[$featuretypeSearchArray[$ft->id]];
//delete all featuretypes that have not same id as ft->id
$cntFtype = 0;
foreach($this->datasetJSON->dataset->srv[$i]->coupledResources->featuretype[$featuretypeCount]->srv->ftype as $ftype) {
More information about the Mapbender_commits
mailing list