{"action":"opened","issue":{"url":"https://api.github.com/repos/JMurk/Utility_Viewer_Issues/issues/167","labels_url":"https://api.github.com/repos/JMurk/Utility_Viewer_Issues/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/JMurk/Utility_Viewer_Issues/issues/167/comments","events_url":"https://api.github.com/repos/JMurk/Utility_Viewer_Issues/issues/167/events","html_url":"https://github.com/JMurk/Utility_Viewer_Issues/issues/167","id":65451736,"number":167,"title":"Utility Viewer - Main Shutdown - Affected Meter Count Inaccurate in County","user":{"login":"alanfoster99","id":7118831,"avatar_url":"https://avatars.githubusercontent.com/u/7118831?v=3","gravatar_id":"","url":"https://api.github.com/users/alanfoster99","html_url":"https://github.com/alanfoster99","followers_url":"https://api.github.com/users/alanfoster99/followers","following_url":"https://api.github.com/users/alanfoster99/following{/other_user}","gists_url":"https://api.github.com/users/alanfoster99/gists{/gist_id}","starred_url":"https://api.github.com/users/alanfoster99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanfoster99/subscriptions","organizations_url":"https://api.github.com/users/alanfoster99/orgs","repos_url":"https://api.github.com/users/alanfoster99/repos","events_url":"https://api.github.com/users/alanfoster99/events{/privacy}","received_events_url":"https://api.github.com/users/alanfoster99/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JMurk/Utility_Viewer_Issues/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/JMurk/Utility_Viewer_Issues/labels/moderate%20priority","name":"moderate priority","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"jday3","id":4439618,"avatar_url":"https://avatars.githubusercontent.com/u/4439618?v=3","gravatar_id":"","url":"https://api.github.com/users/jday3","html_url":"https://github.com/jday3","followers_url":"https://api.github.com/users/jday3/followers","following_url":"https://api.github.com/users/jday3/following{/other_user}","gists_url":"https://api.github.com/users/jday3/gists{/gist_id}","starred_url":"https://api.github.com/users/jday3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jday3/subscriptions","organizations_url":"https://api.github.com/users/jday3/orgs","repos_url":"https://api.github.com/users/jday3/repos","events_url":"https://api.github.com/users/jday3/events{/privacy}","received_events_url":"https://api.github.com/users/jday3/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-03-31T13:33:09Z","updated_at":"2015-03-31T13:33:09Z","closed_at":null,"body":"When a main shutdown in the City is saved and closed, subsequent County main shutdowns (where meters affected is zero) are not updated with the proper value; instead, they retain the City value. Here are steps to replicate:\r\n\r\nSearch Active Water Mains for WEE18__0037380M and Zoom In on feature\r\nSelect this main using Select Mains Tool\r\nPerform Trace Analysis\r\nNumber of meters affected is shown as 89 under Plan Information tab\r\nClose Main Shutdown Plan Evaluation window\r\nSearch Active Water Mains for WDD08__0150929M and Zoom In on feature\r\nSelect this main using Select Mains Tool\r\nYou will notice that number of meters affected is 89, same as WEE18__0037380M, the first main selected, despite there being zero meters affected by this second shutdown.\r\n\r\nThe network trace portion seems to be functioning properly, as the values for affected meters are shown correctly when a plan is saved and re-opened.  The issue only seems to be on initial population of the table.\r\n\r\nSolution:\r\nWhen zero meters (or other feature types) are encountered, retain this value for the display."}}