{"action":"opened","issue":{"url":"https://api.github.com/repos/aowen87/BAR/issues/1448","repository_url":"https://api.github.com/repos/aowen87/BAR","labels_url":"https://api.github.com/repos/aowen87/BAR/issues/1448/labels{/name}","comments_url":"https://api.github.com/repos/aowen87/BAR/issues/1448/comments","events_url":"https://api.github.com/repos/aowen87/BAR/issues/1448/events","html_url":"https://github.com/aowen87/BAR/issues/1448","id":351457068,"node_id":"MDU6SXNzdWUzNTE0NTcwNjg=","number":1448,"title":"Prevent browse of filesystem when exporting in client/server mode","user":{"login":"aowen87","id":11658578,"node_id":"MDQ6VXNlcjExNjU4NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/11658578?v=4","gravatar_id":"","url":"https://api.github.com/users/aowen87","html_url":"https://github.com/aowen87","followers_url":"https://api.github.com/users/aowen87/followers","following_url":"https://api.github.com/users/aowen87/following{/other_user}","gists_url":"https://api.github.com/users/aowen87/gists{/gist_id}","starred_url":"https://api.github.com/users/aowen87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aowen87/subscriptions","organizations_url":"https://api.github.com/users/aowen87/orgs","repos_url":"https://api.github.com/users/aowen87/repos","events_url":"https://api.github.com/users/aowen87/events{/privacy}","received_events_url":"https://api.github.com/users/aowen87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/aowen87/BAR/milestones/15","html_url":"https://github.com/aowen87/BAR/milestone/15","labels_url":"https://api.github.com/repos/aowen87/BAR/milestones/15/labels","id":3577469,"node_id":"MDk6TWlsZXN0b25lMzU3NzQ2OQ==","number":15,"title":"2.8","description":null,"creator":{"login":"aowen87","id":11658578,"node_id":"MDQ6VXNlcjExNjU4NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/11658578?v=4","gravatar_id":"","url":"https://api.github.com/users/aowen87","html_url":"https://github.com/aowen87","followers_url":"https://api.github.com/users/aowen87/followers","following_url":"https://api.github.com/users/aowen87/following{/other_user}","gists_url":"https://api.github.com/users/aowen87/gists{/gist_id}","starred_url":"https://api.github.com/users/aowen87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aowen87/subscriptions","organizations_url":"https://api.github.com/users/aowen87/orgs","repos_url":"https://api.github.com/users/aowen87/repos","events_url":"https://api.github.com/users/aowen87/events{/privacy}","received_events_url":"https://api.github.com/users/aowen87/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":44,"state":"open","created_at":"2018-08-16T22:21:30Z","updated_at":"2018-08-17T04:56:56Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-08-17T04:56:55Z","updated_at":"2018-08-17T04:56:55Z","closed_at":null,"author_association":"OWNER","body":"cq-id: VisIt00008848\r\ncq-submitter: Eric Brugger\r\ncq-submit-date: 12/15/08\r\n\r\nThis was the original problem repoted by Jose.\r\n\r\n<pre>\r\nJose Milovich was running client server and he wanted to export a database in VTK format.\r\nHe couldn't find the file after he saved it. It turned out when you select the directory\r\nto store the file, it shows you the file system on the local machine and not the\r\nremote machine (not surprisingly). He choose a directory that existed on the local\r\nmachine, but not on the remote machine so the file did not get saved. We should\r\neither show the directory system on the remote machine or make it clear that it will\r\nend up on the remote machine and not let the user browse the file system to select\r\nthe directory. Jose also thought that the default should be the same directory where\r\nthe data was located, not the users home directory on the remote machine.\r\n</pre>\r\n\r\nIt turns out fixing this in general can be quite difficult involving reasoning backwards from the plot to be exported, which engine the plot is associated with, then the host that engine is running on, then bringing up a file browser remotely connected to that filesystem, etc.\r\n\r\nBut, something simple we can do is to prevent attempts to browse the filesystem when in client/server mode by graying out (disabling) the browse button. This will prevent users from being lulled into incorrectly thinking they are browsing the remote (engine) filesystem.\r\n\n\n\n\n\n\n-----------------------REDMINE MIGRATION-----------------------\nThis ticket was migrated from Redmine. As such, not all \ninformation was able to be captured in the transition. Below is\na complete record of the original redmine ticket.\n\nTicket number: 54\nStatus: Resolved\nProject: VisIt\nTracker: Bug\nPriority: High\nSubject: Prevent browse of filesystem when exporting in client/server mode\nAssigned to: Kathleen Biagas\nCategory: \nTarget version: 2.8\nAuthor: Cyrus Harrison\nStart: \nDue date: \n% Done: 0\nEstimated time: 4.0\nCreated: 06/21/2010 07:15 pm\nUpdated: 04/23/2014 07:04 pm\nLikelihood: 3 - Occasional\nSeverity: 4 - Crash / Wrong Results\nFound in version: < 1.12\nImpact: \nExpected Use: \nOS: All\nSupport Group: DOE/ASC\nDescription:\n cq-id: VisIt00008848\r\ncq-submitter: Eric Brugger\r\ncq-submit-date: 12/15/08\r\n\r\nThis was the original problem repoted by Jose.\r\n\r\n<pre>\r\nJose Milovich was running client server and he wanted to export a database in VTK format.\r\nHe couldn't find the file after he saved it. It turned out when you select the directory\r\nto store the file, it shows you the file system on the local machine and not the\r\nremote machine (not surprisingly). He choose a directory that existed on the local\r\nmachine, but not on the remote machine so the file did not get saved. We should\r\neither show the directory system on the remote machine or make it clear that it will\r\nend up on the remote machine and not let the user browse the file system to select\r\nthe directory. Jose also thought that the default should be the same directory where\r\nthe data was located, not the users home directory on the remote machine.\r\n</pre>\r\n\r\nIt turns out fixing this in general can be quite difficult involving reasoning backwards from the plot to be exported, which engine the plot is associated with, then the host that engine is running on, then bringing up a file browser remotely connected to that filesystem, etc.\r\n\r\nBut, something simple we can do is to prevent attempts to browse the filesystem when in client/server mode by graying out (disabling) the browse button. This will prevent users from being lulled into incorrectly thinking they are browsing the remote (engine) filesystem.\r\n\n\nComments:\nJean Favre ran into this too and mentioned it is a pain. So, I moved back to new state for updated discussion.Also, Jean mentioned that he can type whole absolute path of remote system in and that works ok.\nUpdated with additional logic and new title\nMade the ExportDBWindow connect to PlotList so it will know when active plots change.If active plot's DB is not on local host then the directorySelectButton (browse file system) button is disabled.M        /src/gui/QvisExportDBWindow.CM        /src/gui/QvisExportDBWindow.hM        /src/gui/QvisGUIApplication.C\n\n"}}
{"actor":{"display_login":"aowen87"}}