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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 4.5.3
    • WYSIWYG Editor
    • None
    • Windows 7
    • Unknown

    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. stacktrace.txt
          42 kB
        2. image.png
          image.png
          12 kB
        3. error 500.png
          error 500.png
          6 kB
        4. error.png
          error.png
          7 kB

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: