{"action":"created","issue":{"url":"https://api.github.com/repos/yawlfoundation/yawl/issues/356","labels_url":"https://api.github.com/repos/yawlfoundation/yawl/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/yawlfoundation/yawl/issues/356/comments","events_url":"https://api.github.com/repos/yawlfoundation/yawl/issues/356/events","html_url":"https://github.com/yawlfoundation/yawl/issues/356","id":97865490,"number":356,"title":"linebreaks in parameter mappings lost on save","user":{"login":"yawlfoundation","id":13515110,"avatar_url":"https://avatars.githubusercontent.com/u/13515110?v=3","gravatar_id":"","url":"https://api.github.com/users/yawlfoundation","html_url":"https://github.com/yawlfoundation","followers_url":"https://api.github.com/users/yawlfoundation/followers","following_url":"https://api.github.com/users/yawlfoundation/following{/other_user}","gists_url":"https://api.github.com/users/yawlfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/yawlfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yawlfoundation/subscriptions","organizations_url":"https://api.github.com/users/yawlfoundation/orgs","repos_url":"https://api.github.com/users/yawlfoundation/repos","events_url":"https://api.github.com/users/yawlfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/yawlfoundation/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yawlfoundation/yawl/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/yawlfoundation/yawl/labels/Component-Editor","name":"Component-Editor","color":"ededed"},{"url":"https://api.github.com/repos/yawlfoundation/yawl/labels/Priority-Low","name":"Priority-Low","color":"ededed"},{"url":"https://api.github.com/repos/yawlfoundation/yawl/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-29T05:46:21Z","updated_at":"2015-07-29T05:46:29Z","closed_at":null,"body":"```\nIn the editor, the newline character is being eaten during the\n\"Update Parameter Mappings\".\n\nOn either input Parameters or output Parameters.\n\nIt is not noticeable until you save and exit the editor.\nWhen you re-open your workflow and go back to the Update Parameter \nMappings\nfor some task, Click on the Update button for some parameter.\n\nThe newlines are gone.\n\nThis is a big pain if you are using your own XML types, as your \nmappings will look terrible.\n\n(from Doug Whitehead)\n\n\n```\n\nOriginal issue reported on code.google.com by `yawl.mic...@gmail.com` on 12 Aug 2009 at 1:43"},"comment":{"url":"https://api.github.com/repos/yawlfoundation/yawl/issues/comments/125849897","html_url":"https://github.com/yawlfoundation/yawl/issues/356#issuecomment-125849897","issue_url":"https://api.github.com/repos/yawlfoundation/yawl/issues/356","id":125849897,"user":{"login":"yawlfoundation","id":13515110,"avatar_url":"https://avatars.githubusercontent.com/u/13515110?v=3","gravatar_id":"","url":"https://api.github.com/users/yawlfoundation","html_url":"https://github.com/yawlfoundation","followers_url":"https://api.github.com/users/yawlfoundation/followers","following_url":"https://api.github.com/users/yawlfoundation/following{/other_user}","gists_url":"https://api.github.com/users/yawlfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/yawlfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yawlfoundation/subscriptions","organizations_url":"https://api.github.com/users/yawlfoundation/orgs","repos_url":"https://api.github.com/users/yawlfoundation/repos","events_url":"https://api.github.com/users/yawlfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/yawlfoundation/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T05:46:29Z","updated_at":"2015-07-29T05:46:29Z","body":"```\nThe problem is that xquery expressions for input and output params are stored \nin the\nspec file as attributes (rather than elements), and since attributes cannot \ncontain\nnewline characters, such formatting is lost.\n\nThe solution: I have added a formatter tool that auto formats the query on the \nway\ninto the dialog, so that it is nicely structured. There is also a new button on \nthe\ndialog to re-format manually during editing.\n```\n\nOriginal comment by `yawl.mic...@gmail.com` on 18 Aug 2009 at 10:24\n* Changed state: **Fixed**"}}