{"action":"created","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2979","repository_url":"https://api.github.com/repos/backdrop/backdrop-issues","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2979/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2979/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2979/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/2979","id":297685585,"number":2979,"title":"Images uploaded to a comment in CKEditor are not marked as permanent","user":{"login":"laryn","id":871421,"avatar_url":"https://avatars0.githubusercontent.com/u/871421?v=4","gravatar_id":"","url":"https://api.github.com/users/laryn","html_url":"https://github.com/laryn","followers_url":"https://api.github.com/users/laryn/followers","following_url":"https://api.github.com/users/laryn/following{/other_user}","gists_url":"https://api.github.com/users/laryn/gists{/gist_id}","starred_url":"https://api.github.com/users/laryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laryn/subscriptions","organizations_url":"https://api.github.com/users/laryn/orgs","repos_url":"https://api.github.com/users/laryn/repos","events_url":"https://api.github.com/users/laryn/events{/privacy}","received_events_url":"https://api.github.com/users/laryn/received_events","type":"User","site_admin":false},"labels":[{"id":54904567,"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/type%20-%20bug%20report","name":"type - bug report","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-16T05:32:31Z","updated_at":"2018-02-16T06:28:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Describe your issue or idea\r\n\r\nI recently ran into an issue with the Splashify module where images uploaded into CKEditor were not marked as permanent and were deleted. I modified some code that I found in the core block module for use with Splashify, to mark those files as permanent and it seems to be working. I have noticed that the forum has the same issue where uploaded images are not being saved permanently on replies/comments on a topic. @oadaeh has verified that this is a core comment issue, not a forum-specific issue.\r\n\r\n### Steps to reproduce (if reporting a bug)\r\n\r\n- Enable comments and allow image uploading in comments.\r\n- Make a comment and insert an image into it.\r\n- Save.\r\n\r\n### Actual behavior (if reporting a bug)\r\n\r\n- Image uploads fine but is not marked as permanent so disappears after a time.\r\n\r\n### Expected behavior (if reporting a bug)\r\n\r\n- Image is marked as permanent.\r\n\r\nReferences:\r\n- https://github.com/backdrop-ops/forum.backdropcms.org/issues/56\r\n- https://github.com/backdrop-contrib/splashify/issues/7"},"comment":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/comments/366154743","html_url":"https://github.com/backdrop/backdrop-issues/issues/2979#issuecomment-366154743","issue_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/2979","id":366154743,"user":{"login":"oadaeh","id":376249,"avatar_url":"https://avatars0.githubusercontent.com/u/376249?v=4","gravatar_id":"","url":"https://api.github.com/users/oadaeh","html_url":"https://github.com/oadaeh","followers_url":"https://api.github.com/users/oadaeh/followers","following_url":"https://api.github.com/users/oadaeh/following{/other_user}","gists_url":"https://api.github.com/users/oadaeh/gists{/gist_id}","starred_url":"https://api.github.com/users/oadaeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oadaeh/subscriptions","organizations_url":"https://api.github.com/users/oadaeh/orgs","repos_url":"https://api.github.com/users/oadaeh/repos","events_url":"https://api.github.com/users/oadaeh/events{/privacy}","received_events_url":"https://api.github.com/users/oadaeh/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T06:28:00Z","updated_at":"2018-02-16T06:28:00Z","author_association":"NONE","body":"I tested this by adding an image to the content of a CKEditor field by clicking on the image button.\r\nThese places saved the image data in the file_managed table with a status of 0 (Temporary):\r\n* Comments on both a Post and a Forum\r\n* Splashify module content (contrib)\r\n\r\nThese places saved the image data in the file_managed table with a status of 1 (Permanent):\r\n* Custom block content\r\n* Page and Post content\r\n"}}
{"actor":{"display_login":"oadaeh"}}