{"action":"created","issue":{"url":"https://api.github.com/repos/jens-maus/yam/issues/472","repository_url":"https://api.github.com/repos/jens-maus/yam","labels_url":"https://api.github.com/repos/jens-maus/yam/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/jens-maus/yam/issues/472/comments","events_url":"https://api.github.com/repos/jens-maus/yam/issues/472/events","html_url":"https://github.com/jens-maus/yam/issues/472","id":148707909,"number":472,"title":"Edit a mail creates a new mail and add a space into the body","user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jens-maus/yam/labels/%23major","name":"#major","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/@undecided","name":"@undecided","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/Coding/Memory","name":"Coding/Memory","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/fixed","name":"fixed","color":"ededed"},{"url":"https://api.github.com/repos/jens-maus/yam/labels/v2.8p1","name":"v2.8p1","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jens-maus/yam/milestones/5","html_url":"https://github.com/jens-maus/yam/milestones/YAM%202.9","labels_url":"https://api.github.com/repos/jens-maus/yam/milestones/5/labels","id":1708706,"number":5,"title":"YAM 2.9","description":"[[TicketQuery(milestone=YAM 2.9, order=resolution, desc=1, format=table, col=id|type|status|resolution|priority|summary)]]","creator":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":98,"state":"closed","created_at":"2016-04-15T10:18:48Z","updated_at":"2016-04-15T16:35:19Z","due_on":"2013-12-19T23:00:00Z","closed_at":"2016-04-15T10:18:48Z"},"comments":8,"created_at":"2016-04-15T16:35:03Z","updated_at":"2016-04-15T16:35:21Z","closed_at":"2016-04-15T16:35:19Z","body":"**Originally by _opionline@yahoo.de_ on 2013-12-13 03:00:24 +0100**\n\n___\nEdit a mail creates a new mail and add a space into the body.\nSteps to reproduce:\n1. Create a new mail\n2. click \"send later\"\n3. go to the \"Outgoing Folder\"\n4. select the just created mail\n5. click \"edit\"\n6. click \"send later\"\n\nnow you have 2 mails in the outgoing folder. The second one has a additional space into the body. You can repeat steps 4-6 and you will get a lot of mails.\nBecause you select a mail to edit YAM should IMHO not create another mail and something to this mail.\n"},"comment":{"url":"https://api.github.com/repos/jens-maus/yam/issues/comments/210535097","html_url":"https://github.com/jens-maus/yam/issues/472#issuecomment-210535097","issue_url":"https://api.github.com/repos/jens-maus/yam/issues/472","id":210535097,"user":{"login":"jens-maus","id":5887769,"avatar_url":"https://avatars.githubusercontent.com/u/5887769?v=3","gravatar_id":"","url":"https://api.github.com/users/jens-maus","html_url":"https://github.com/jens-maus","followers_url":"https://api.github.com/users/jens-maus/followers","following_url":"https://api.github.com/users/jens-maus/following{/other_user}","gists_url":"https://api.github.com/users/jens-maus/gists{/gist_id}","starred_url":"https://api.github.com/users/jens-maus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jens-maus/subscriptions","organizations_url":"https://api.github.com/users/jens-maus/orgs","repos_url":"https://api.github.com/users/jens-maus/repos","events_url":"https://api.github.com/users/jens-maus/events{/privacy}","received_events_url":"https://api.github.com/users/jens-maus/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T16:35:21Z","updated_at":"2016-04-15T16:35:21Z","body":"**Originally by @tboeckel on 2014-02-13 15:08:24 +0100**\n\n___\nReplying to stellan:\n> I use the 68k version of YAM 2.10-dev (09.02.2014) and can reproduce what opiopi has reported:\n> Each time you edit a mail in outgoing folder and click on \"send later\" a new mail will created. The added \"space\" in subject I don`t get.\n\nThat happens intentionally. Mails in the Outgoing folder are considered \"finished\" and don't need further editing. However, if you wish edit them nevertheless and choose the menu item \"Edit as new\" you get exactly what the menu items tells you: you get a new mail. The same happens when you are trying to edit a received mail.\n\nOnly mails in the Drafts folder are considered \"unfinished\" and will be replaced whenever they are saved again temporarily. Hitting the \"Send now\" or \"Send later\" button for such a mail will move it to the Outgoing folder, because now it is finished an doesn't need further editing.\n\nThis difference between the Outgoing and the Drafts folder is also made more clear by the fact that doubleclicking a mail in Outgoing will open a read window like for any other received mail, while doubleclicking a mail in Drafts will open a write window to continue your editing work. Furthermore mails in Outgoing will be marked as \"read\" as soon as the mail was displayed as such in the usual manner (separate read window or embedded read pane). This does not happen for mails in Drafts.\n\nSo when you are editing mails in the Outgoing folder again it is your task to decide which of the two copies is the correct one that is to be sent off. The other one must be deleted manually.\n\nI am aware that this is a big change compared to previous versions of YAM, but then the mails in Outgoing could only be distinguished by a status icon and it was not very obvious why hitting the \"Send\" buttons sends off some mails but leaves others. All in all the current approach is much more consistent, clear and also matches the behaviour of mail clients on other systems."}}