Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-45772

"Length of stream must be greater than 0." error when pasting images

    XMLWordPrintable

Details

    Description

      Description

      When we try to copy an image from Windows Photo Viewer and then paste that image in Confluence, sometimes it throws an error:

      Environment

      • Windows 10
      • Confluence 6.0.3
      • Firefox 50.1.0
      • Windows Photo Viewer

      Steps to reproduce:

      1. Open an image on Windows photo viewer;
      2. Right-click -> Copy;
      3. Open a Confluence page in edit mode;
      4. Right-click -> Paste;

      Expected result:
      The image is attached properly.

      Actual Result
      "Length of stream must be greater than 0."

      Workaround
      Use Google Chrome;

      or

      1. Paste and save the image with any image editor;
      2. Attach the file itself rather than a selection (via drag and drop, Insert Files button, etc);

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lmachado@atlassian.com Lucas Machado (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: