0

[Safety Testing] What Happens to an Image? Part 2

under review

12 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • Official comment
    Avatar
    Registered User commented
    Comment actions Permalink

    This is an 'official' comment.

    https://minecraftfeedback1526510002.zendesk.com/hc/user_images/QUsgyQ3Qpdzqozhjd8w8SA.png

     

  • 0
    Registered User commented
    Comment actions Permalink

    This is not an 'official' comment.

    (Any comment can be 'official', but only one comment at a time.)

    https://minecraftfeedback1526510002.zendesk.com/hc/user_images/272M93bMSXPEcdYLCoeMNg.png

  • 1
    Registered User commented
    Comment actions Permalink

    Adding this comment (A) with an image (I) that will be referenced in another comment (B), after which (B) will be deleted.

    • This is supposed to result in the Image being deleted.
    • This should result in Comment (A) having a broken image.
    • Here is the image (a dancing baby groot)
    • The image URL (before submitting): 
      https://minecraftfeedback1526510002.zendesk.com/hc/user_images/4bu_bRVO-XWueLKU_Qbv2g.gif
  • 0
    Registered User commented
    Comment actions Permalink

    This comment contains the raw JSON of the prior Comment (A). 

            {
               "id": 6028599759117,
               "body": "<p>Adding this comment (A) with an image (I) that will be referenced in another comment (B), after which (B) will be deleted.</p>\n<ul>\n<li>This is supposed to result in the Image being deleted.</li>\n<li>This should result in Comment (A) having a broken image.</li>\n<li>Here is the image <em>(a dancing baby groot)</em>:&nbsp;<br><img src=\"https://minecraftfeedback1526510002.zendesk.com/hc/user_images/4bu_bRVO-XWueLKU_Qbv2g.gif\">\n</li>\n<li>The image URL (before submitting):&nbsp;\n<pre>https://minecraftfeedback1526510002.zendesk.com/hc/user_images/4bu_bRVO-XWueLKU_Qbv2g.gif</pre>\n</li>\n</ul>",
               "author_id": 4640475840781,
               "vote_sum": 0,
               "vote_count": 0,
               "official": false,
               "html_url": "https://minecraftfeedback1526510002.zendesk.com/hc/en-us/community/posts/6007486968461--Safety-Testing-What-Happens-to-an-Image-/comments/6028599759117",
               "created_at": "2022-05-05T18:52:13Z",
               "updated_at": "2022-05-05T18:52:13Z",
               "url": "https://minecraftfeedback1526510002.zendesk.com/api/v2/help_center/community/posts/6007486968461/comments/6028599759117.json",
               "post_id": 6007486968461,
               "non_author_editor_id": null,
               "non_author_updated_at": null
            }
  • 0
    Registered User commented
    Comment actions Permalink

    This is the raw JSON of Comment (B), that was added with an image from Comment (A), and then was deleted via the API. 

    • The Comment Body contained the same image URL as the previous Comment (A). 
    • Even after deleting Comment (B), the image remains available at the URL from Comment (A) 
            {
                "id": 6028714077325,
                "body": "<p>This is a new comment (B) with an image link from another comment (A).&nbsp;</p>\n<ul>\n<li>I pasted the src-link and the WYSIWYG editor rendered the image:<br><br><img src=\"https://minecraftfeedback1526510002.zendesk.com/hc/user_images/4bu_bRVO-XWueLKU_Qbv2g.gif\">\n</li>\n</ul>",
                "author_id": 4640475840781,
                "vote_sum": 0,
                "vote_count": 0,
                "official": false,
                "html_url": "https://minecraftfeedback1526510002.zendesk.com/hc/en-us/community/posts/6007486968461--Safety-Testing-What-Happens-to-an-Image-/comments/6028714077325",
                "created_at": "2022-05-05T18:57:44Z",
                "updated_at": "2022-05-05T18:57:44Z",
                "url": "https://minecraftfeedback1526510002.zendesk.com/api/v2/help_center/community/posts/6007486968461/comments/6028714077325.json",
                "post_id": 6007486968461,
                "non_author_editor_id": null,
                "non_author_updated_at": null
          }
  • 2
    Registered User commented
    Comment actions Permalink

    This is a screenshot of Comment (A) with the 'original' image URL.

    The image still visible, after Comment (B) was deleted. It was only referenced here, not uploaded in Comment (B). 

    • Screenshot: 

  • 1
    Registered User commented
    Comment actions Permalink

    Comment (D)

    • Image from Comment (C), but only referenced via URL: 

    Image URL (before Submitting)

    https://minecraftfeedback1526510002.zendesk.com/hc/user_images/LAkiDAMOq7r7kzajZzNfUg.png
  • 0
    Registered User commented
    Comment actions Permalink

    Comment (C)'s raw JSON (before deleting it)

            {
                "id": 6029225554701,
                "body": "<p>Performing the same test, except this time will delete the 'original' Comment (C), as opposed to the one that references the already-uploaded image Comment (D).&nbsp;</p>\n<p><strong>Comment (C)</strong></p>\n<ul>\n<li>Image <em>(\"it just works\")</em>: <br><img src=\"https://minecraftfeedback1526510002.zendesk.com/hc/user_images/LAkiDAMOq7r7kzajZzNfUg.png\">\n</li>\n</ul>\n<p>Image URL (before submitting):</p>\n<pre>https://minecraftfeedback1526510002.zendesk.com/hc/user_images/LAkiDAMOq7r7kzajZzNfUg.png</pre>\n<p>&nbsp;</p>",
                "author_id": 4640475840781,
                "vote_sum": 0,
                "vote_count": 0,
                "official": false,
                "html_url": "https://minecraftfeedback1526510002.zendesk.com/hc/en-us/community/posts/6007486968461--Safety-Testing-What-Happens-to-an-Image-/comments/6029225554701",
                "created_at": "2022-05-05T19:12:36Z",
                "updated_at": "2022-05-05T19:12:36Z",
                "url": "https://minecraftfeedback1526510002.zendesk.com/api/v2/help_center/community/posts/6007486968461/comments/6029225554701.json",
                "post_id": 6007486968461,
                "non_author_editor_id": null,
                "non_author_updated_at": null
          }
  • 1
    Registered User commented
    Comment actions Permalink

    Screenshot of Comment (D) AFTER Comment (C) was deleted. 

    • The previously-uploaded image is now broken as-expected. 
    • Discovery: User-Uploaded Images are deleted only when the Post/Comment to which they were initially attached is Deleted.
  • 0
    Registered User commented
    Comment actions Permalink

    I attempted to add a Comment with a Public Image URL (not hosted on this Zendesk Subdomain), and received the following Error Toast: 

    • The Image URL: https://techcrunch.com/wp-content/uploads/2013/01/fail-whale.png
    • Toast: 
    • However, the Comment Editor had already been cleared and no Comment was actually submitted.
    • This appears to be a bug in the Editor, but ultimately it did not allow the comment to be added with a public URL, so this is a good thing.   
  • 0
    Registered User commented
    Comment actions Permalink

    Super-magic test: This should get flagged because it's supercalifragilistic.

     

    It also has an image tag.

  • 0
    Registered User commented
    Comment actions Permalink

    Hi, this comment is posted for testing Sorting on March 28, 2024