{"action":"opened","issue":{"url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/811","labels_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/811/labels{/name}","comments_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/811/comments","events_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/811/events","html_url":"https://github.com/ploneintranet/ploneintranet/issues/811","id":109256920,"number":811,"title":"stream tag injection leaves ghost","user":{"login":"gyst","id":122351,"avatar_url":"https://avatars.githubusercontent.com/u/122351?v=3","gravatar_id":"","url":"https://api.github.com/users/gyst","html_url":"https://github.com/gyst","followers_url":"https://api.github.com/users/gyst/followers","following_url":"https://api.github.com/users/gyst/following{/other_user}","gists_url":"https://api.github.com/users/gyst/gists{/gist_id}","starred_url":"https://api.github.com/users/gyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyst/subscriptions","organizations_url":"https://api.github.com/users/gyst/orgs","repos_url":"https://api.github.com/users/gyst/repos","events_url":"https://api.github.com/users/gyst/events{/privacy}","received_events_url":"https://api.github.com/users/gyst/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ploneintranet/ploneintranet/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/ploneintranet/ploneintranet/labels/pkg-activitystream","name":"pkg-activitystream","color":"666666"},{"url":"https://api.github.com/repos/ploneintranet/ploneintranet/labels/prio:low","name":"prio:low","color":"bbbbbb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-01T08:58:17Z","updated_at":"2015-10-01T08:58:17Z","closed_at":null,"body":"If in the stream you create an update with tags from the selector, posting the message will inject that message into the stream, including a reply widget that is incorrect: it already shows the tags from the original message. This only happens on injection, after reloading the page it does not show.\r\n\r\n![tag](https://cloud.githubusercontent.com/assets/122351/10216672/19e23c20-682b-11e5-8ff3-2f4b1222a5e5.png)\r\n\r\nIf you did not reload, and then make a reply without actually selecting any tag, it will inject the original tag twice in the reply.\r\n\r\n![tag2](https://cloud.githubusercontent.com/assets/122351/10216684/2bcf99b4-682b-11e5-8711-e11bd8638c11.png)\r\n\r\nIf you did not reload, and then used the tag picker in the reply, it will then show the newly picked tag twice.\r\n\r\n![tag1](https://cloud.githubusercontent.com/assets/122351/10216676/22e8205a-682b-11e5-8d8b-dd5aa796d8de.png)\r\n\r\nThese double tags are inserted into the database and show up after reload.\r\n\r\n\r\n\r\n"}}