Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8982

The "Image Settings" button doesn't work as it should if you click on "Insert Image" without choosing a file first

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 4.5.3
    • Fix Version/s: None
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Environment:
      Windows 7
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce:

      • Navigate to a page
      • Hover over "Edit" and click on "WYSIWYG"
      • Click "Image > Attached Image..."
      • Click "All Pages"
      • Click "Upload new image"
      • Click "Select"
      • (Accidentally) click on "Insert Image"; you'll get an error (error.png)
      • Click "Browse" and select a file from your computer
      • Click "Image Settings"

      The image appears to be inserted (image.png) even if you clicked on "Image Settings" and not "Insert Image", but you can't actually see it. If you select the text "email.png" and go to "Image->Edit Image" you get an error (error 500.png). Also you can't switch to the Source tab unless you delete the text. I've attached the stacktrace. This bug reproduces on all the supported browsers: IE8/9, Chrome and Firefox.

        Attachments

        1. error.png
          error.png
          7 kB
        2. error 500.png
          error 500.png
          6 kB
        3. image.png
          image.png
          12 kB
        4. stacktrace.txt
          42 kB

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              msmeria Manuel Smeria
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: