{"action":"created","issue":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1694","repository_url":"https://api.github.com/repos/geonetwork/core-geonetwork","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1694/labels{/name}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1694/comments","events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1694/events","html_url":"https://github.com/geonetwork/core-geonetwork/issues/1694","id":179226377,"number":1694,"title":"Storing protocol for online resource","user":{"login":"g2timo","id":19432469,"avatar_url":"https://avatars.githubusercontent.com/u/19432469?v=3","gravatar_id":"","url":"https://api.github.com/users/g2timo","html_url":"https://github.com/g2timo","followers_url":"https://api.github.com/users/g2timo/followers","following_url":"https://api.github.com/users/g2timo/following{/other_user}","gists_url":"https://api.github.com/users/g2timo/gists{/gist_id}","starred_url":"https://api.github.com/users/g2timo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g2timo/subscriptions","organizations_url":"https://api.github.com/users/g2timo/orgs","repos_url":"https://api.github.com/users/g2timo/repos","events_url":"https://api.github.com/users/g2timo/events{/privacy}","received_events_url":"https://api.github.com/users/g2timo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-26T13:19:48Z","updated_at":"2016-12-24T23:12:00Z","closed_at":null,"body":"When adding an online resource, I can select a protocol, but it isn't saved. I also saw in the code that there is a watch on params.protocol (OnlineSrcDirective.js) that should be triggered, but this isn't the case. Because of this, an added WMS resource isn't recognized as a WMS. However, changing the protocol in the XML directly seems to work.\n"},"comment":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/comments/269103692","html_url":"https://github.com/geonetwork/core-geonetwork/issues/1694#issuecomment-269103692","issue_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1694","id":269103692,"user":{"login":"pvgenuchten","id":299829,"avatar_url":"https://avatars.githubusercontent.com/u/299829?v=3","gravatar_id":"","url":"https://api.github.com/users/pvgenuchten","html_url":"https://github.com/pvgenuchten","followers_url":"https://api.github.com/users/pvgenuchten/followers","following_url":"https://api.github.com/users/pvgenuchten/following{/other_user}","gists_url":"https://api.github.com/users/pvgenuchten/gists{/gist_id}","starred_url":"https://api.github.com/users/pvgenuchten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvgenuchten/subscriptions","organizations_url":"https://api.github.com/users/pvgenuchten/orgs","repos_url":"https://api.github.com/users/pvgenuchten/repos","events_url":"https://api.github.com/users/pvgenuchten/events{/privacy}","received_events_url":"https://api.github.com/users/pvgenuchten/received_events","type":"User","site_admin":false},"created_at":"2016-12-24T23:11:59Z","updated_at":"2016-12-24T23:11:59Z","body":"I noticed that errors in /geonetwork/srv/api/records/{id}/processes/onlinesrc-add?url={url}&protocol=OGC:WMS&name={name}&desc={desc&function=&applicationProfile=&process=onlinesrc-add&id={id} are not presented on the UI, you have to view them on the network-console. This would be something to improve.\r\n\r\nThen to debug your situation, place <xsl:message></xsl:message> statements in\r\nhttps://github.com/geonetwork/core-geonetwork/blob/develop/schemas/iso19139/src/main/plugin/iso19139/process/onlinesrc-add.xsl\r\nto locate where an error may have occured.\r\n\r\nThe problem in the CSW response may be related, but it is better to register it as a separate issue. "}}
{"actor":{"display_login":"pvgenuchten"}}