{"action":"opened","issue":{"url":"https://api.github.com/repos/metapolator/metapolator/issues/629","labels_url":"https://api.github.com/repos/metapolator/metapolator/issues/629/labels{/name}","comments_url":"https://api.github.com/repos/metapolator/metapolator/issues/629/comments","events_url":"https://api.github.com/repos/metapolator/metapolator/issues/629/events","html_url":"https://github.com/metapolator/metapolator/issues/629","id":96050251,"number":629,"title":"ruleController.write doesn't update","user":{"login":"jeroenbreen","id":6692653,"avatar_url":"https://avatars.githubusercontent.com/u/6692653?v=3","gravatar_id":"","url":"https://api.github.com/users/jeroenbreen","html_url":"https://github.com/jeroenbreen","followers_url":"https://api.github.com/users/jeroenbreen/followers","following_url":"https://api.github.com/users/jeroenbreen/following{/other_user}","gists_url":"https://api.github.com/users/jeroenbreen/gists{/gist_id}","starred_url":"https://api.github.com/users/jeroenbreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeroenbreen/subscriptions","organizations_url":"https://api.github.com/users/jeroenbreen/orgs","repos_url":"https://api.github.com/users/jeroenbreen/repos","events_url":"https://api.github.com/users/jeroenbreen/events{/privacy}","received_events_url":"https://api.github.com/users/jeroenbreen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"graphicore","id":393132,"avatar_url":"https://avatars.githubusercontent.com/u/393132?v=3","gravatar_id":"","url":"https://api.github.com/users/graphicore","html_url":"https://github.com/graphicore","followers_url":"https://api.github.com/users/graphicore/followers","following_url":"https://api.github.com/users/graphicore/following{/other_user}","gists_url":"https://api.github.com/users/graphicore/gists{/gist_id}","starred_url":"https://api.github.com/users/graphicore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphicore/subscriptions","organizations_url":"https://api.github.com/users/graphicore/orgs","repos_url":"https://api.github.com/users/graphicore/repos","events_url":"https://api.github.com/users/graphicore/events{/privacy}","received_events_url":"https://api.github.com/users/graphicore/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-07-20T12:05:40Z","updated_at":"2015-07-20T12:05:40Z","closed_at":null,"body":"When I want to remove a master from an instance I need to rewrite the cpsString with a new generated-n.cps file and with a new baseMaster / proportion set.\r\n\r\nIt looks like the ruleControlller doesn't update well. When I do this log, I get the old cpsString when doing `parameterCollection.toString())`.\r\n\r\n```js      \r\nvar cpsString = \"something new\";\r\nproject.ruleController.write(false, instance.cpsFile, cpsString);\r\nvar parameterCollection = project.ruleController.getRule(false, instance.cpsFile);\r\nconsole.log(parameterCollection.toString());\r\n````"}}