metadata101 / iso19139.ca.HNAP

ISO Harmonized North American Profile (HNAP)
GNU General Public License v2.0
4 stars 19 forks source link

Configure the online resources dialog to display the layer selector for WMS layers and add the layer names in the service url. #264

Closed josegar74 closed 2 years ago

josegar74 commented 2 years ago

Related to #6195

wangf1122 commented 2 years ago

I tested from my local and got this error.

image

It's possibly caused by this line of code: https://github.com/geonetwork/core-geonetwork/blob/af5c60071a9013e23e18217b1551b28e8b8896a0/web-ui/src/main/resources/catalog/components/edit/onlinesrc/OnlineSrcDirective.js#L706

The urlLayerParam is not part of JSON configuration.

I think it had some dependency with this commit: https://github.com/geonetwork/core-geonetwork/commit/ec40def2501f7bc79fd3579aa9ef57d89a722bec

After I cherry pick this commit, it works fine image