{"action":"closed","issue":{"url":"https://api.github.com/repos/aodn/aodn-portal/issues/2635","repository_url":"https://api.github.com/repos/aodn/aodn-portal","labels_url":"https://api.github.com/repos/aodn/aodn-portal/issues/2635/labels{/name}","comments_url":"https://api.github.com/repos/aodn/aodn-portal/issues/2635/comments","events_url":"https://api.github.com/repos/aodn/aodn-portal/issues/2635/events","html_url":"https://github.com/aodn/aodn-portal/issues/2635","id":315318880,"number":2635,"title":"Wrong no-temporal message shown for bathymetry layer","user":{"login":"akashisama","id":1926880,"avatar_url":"https://avatars2.githubusercontent.com/u/1926880?v=4","gravatar_id":"","url":"https://api.github.com/users/akashisama","html_url":"https://github.com/akashisama","followers_url":"https://api.github.com/users/akashisama/followers","following_url":"https://api.github.com/users/akashisama/following{/other_user}","gists_url":"https://api.github.com/users/akashisama/gists{/gist_id}","starred_url":"https://api.github.com/users/akashisama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akashisama/subscriptions","organizations_url":"https://api.github.com/users/akashisama/orgs","repos_url":"https://api.github.com/users/akashisama/repos","events_url":"https://api.github.com/users/akashisama/events{/privacy}","received_events_url":"https://api.github.com/users/akashisama/received_events","type":"User","site_admin":false},"labels":[{"id":51003262,"url":"https://api.github.com/repos/aodn/aodn-portal/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"closed","locked":false,"assignee":{"login":"pblain","id":2802359,"avatar_url":"https://avatars0.githubusercontent.com/u/2802359?v=4","gravatar_id":"","url":"https://api.github.com/users/pblain","html_url":"https://github.com/pblain","followers_url":"https://api.github.com/users/pblain/followers","following_url":"https://api.github.com/users/pblain/following{/other_user}","gists_url":"https://api.github.com/users/pblain/gists{/gist_id}","starred_url":"https://api.github.com/users/pblain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pblain/subscriptions","organizations_url":"https://api.github.com/users/pblain/orgs","repos_url":"https://api.github.com/users/pblain/repos","events_url":"https://api.github.com/users/pblain/events{/privacy}","received_events_url":"https://api.github.com/users/pblain/received_events","type":"User","site_admin":false},"assignees":[{"login":"pblain","id":2802359,"avatar_url":"https://avatars0.githubusercontent.com/u/2802359?v=4","gravatar_id":"","url":"https://api.github.com/users/pblain","html_url":"https://github.com/pblain","followers_url":"https://api.github.com/users/pblain/followers","following_url":"https://api.github.com/users/pblain/following{/other_user}","gists_url":"https://api.github.com/users/pblain/gists{/gist_id}","starred_url":"https://api.github.com/users/pblain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pblain/subscriptions","organizations_url":"https://api.github.com/users/pblain/orgs","repos_url":"https://api.github.com/users/pblain/repos","events_url":"https://api.github.com/users/pblain/events{/privacy}","received_events_url":"https://api.github.com/users/pblain/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-04-18T03:37:09Z","updated_at":"2018-05-17T07:18:56Z","closed_at":"2018-05-17T07:18:56Z","author_association":"MEMBER","body":"### Steps to reproduce:\r\nAdd Deakin bathymetry layer\r\n\r\n### What should happen:\r\nInfo message shown: \"Spatial subsetting only for this data collection\"\r\n\r\n### What does happen:\r\nWarning message shown: \"The data collection has no temporal information\"\r\n\r\n### Note\r\nThe following function from NcWmsPanel.js is used to determine whether to show the info message or the warning message. Evidently it's not working like it was supposed to.\r\n``` JavaScript\r\n   shouldHaveTemporalExtent: function() {\r\n        var metadata = this.dataCollection.data.metadataRecord.data;\r\n        return (metadata.temporalExtentBegin.length > 0) && (metadata.temporalExtentEnd.length > 0);\r\n    }\r\n````"}}
{"actor":{"display_login":"pmbohm"}}