{"action":"created","issue":{"url":"https://api.github.com/repos/NagVis/nagvis/issues/13","labels_url":"https://api.github.com/repos/NagVis/nagvis/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/NagVis/nagvis/issues/13/comments","events_url":"https://api.github.com/repos/NagVis/nagvis/issues/13/events","html_url":"https://github.com/NagVis/nagvis/issues/13","id":68724707,"number":13,"title":"Cannot update \"General Configuration\" with GUI ","user":{"login":"phil0135","id":2410400,"avatar_url":"https://avatars.githubusercontent.com/u/2410400?v=3","gravatar_id":"","url":"https://api.github.com/users/phil0135","html_url":"https://github.com/phil0135","followers_url":"https://api.github.com/users/phil0135/followers","following_url":"https://api.github.com/users/phil0135/following{/other_user}","gists_url":"https://api.github.com/users/phil0135/gists{/gist_id}","starred_url":"https://api.github.com/users/phil0135/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil0135/subscriptions","organizations_url":"https://api.github.com/users/phil0135/orgs","repos_url":"https://api.github.com/users/phil0135/repos","events_url":"https://api.github.com/users/phil0135/events{/privacy}","received_events_url":"https://api.github.com/users/phil0135/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-15T16:13:37Z","updated_at":"2015-04-16T07:00:47Z","closed_at":null,"body":"Hi, \r\n\r\nfirst of all, thanks for the new version  Nagvis 1.8.2. Looks good.\r\n\r\nUnfortunately it is not possible to update the general configuration. \r\nThere is a problem in share/server/core/classes/ViewEditMainCfg.php, because of an invalid index access. \r\n\r\n![nagvis-error](https://cloud.githubusercontent.com/assets/2410400/7163402/0e19de04-e39a-11e4-9b9d-b0457fe1934e.png)\r\n\r\nFirst the code is checking the $_POST variable with prefix 'toggle_', but the actual access is without this prefix.\r\nBut even fixing this access problem does not solve the problem because it destroys the config by overwriting the values with 0 or 1.\r\n\r\nI have updated my older version of Nagvis, so i am not sure if this affects new installations as well.\r\n\r\nKind regards, \r\n\r\nPhilipp Ghirardini\r\n"},"comment":{"url":"https://api.github.com/repos/NagVis/nagvis/issues/comments/93660455","html_url":"https://github.com/NagVis/nagvis/issues/13#issuecomment-93660455","issue_url":"https://api.github.com/repos/NagVis/nagvis/issues/13","id":93660455,"user":{"login":"phil0135","id":2410400,"avatar_url":"https://avatars.githubusercontent.com/u/2410400?v=3","gravatar_id":"","url":"https://api.github.com/users/phil0135","html_url":"https://github.com/phil0135","followers_url":"https://api.github.com/users/phil0135/followers","following_url":"https://api.github.com/users/phil0135/following{/other_user}","gists_url":"https://api.github.com/users/phil0135/gists{/gist_id}","starred_url":"https://api.github.com/users/phil0135/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil0135/subscriptions","organizations_url":"https://api.github.com/users/phil0135/orgs","repos_url":"https://api.github.com/users/phil0135/repos","events_url":"https://api.github.com/users/phil0135/events{/privacy}","received_events_url":"https://api.github.com/users/phil0135/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T07:00:47Z","updated_at":"2015-04-16T07:00:47Z","body":"Thanks for the hint. Now I could identify the problem. \r\n\r\nI have a drop down field equal to hoverchildsorder, with the same values [\"desc\", \"asc\"]. \r\n\r\n![nagvis-setting](https://cloud.githubusercontent.com/assets/2410400/7175588/a03ad1a4-e416-11e4-809c-4138b0349365.png)\r\n\r\nBut regarding the comments in the nagvis.ini.php it should be [\"s\", \"a\"]. Since I have set this option to \"s\" manually the box becomes empty and results in the described error. \r\n\r\nPlease let me know if it is a general bug or just related to my updated version.\r\n\r\nKind regards, \r\n\r\nPhilipp\r\n\r\n"}}