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

Image is not attached to a template based page when the image is uploaded/added to the page content using the wysiwyg editor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 8.4-rc-1, 7.4.6
    • Fix Version/s: 9.6-rc-1, 8.4.6
    • Component/s: Old Core
    • Labels:
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      XWiki version: 8.4.4
      Reproduced in CKEditor and GWT editor

      Steps to reproduce:

      1. Log in as Admin
      2. Go to the blog application home page
      3. Add a title to create a new blog post
      4. In the Content add some text and an Image through Upload (Browse > Send it to Server > OK)
      5. Click Save & View

      Expected results: The image shows in Content of the blog post.

      Actual results: The image doesn't show in Content of the blog post after Save & View. Only the name of the image appears in the content.
      If you Edit the blog post again and you add the image to the post content (Steps 3-5), it will work.

      below the discussion I had with Marius

      [4:41:14 PM] Marius Dumitru Florea: the template specified on the URL is copied over the document that is created when you upload the image. Check the document history.
      [4:42:04 PM] Marius Dumitru Florea: the template is not merged but copied over
      [4:42:29 PM] Mohamed BOUSSAA: Is there a solution to this ?
      [4:43:13 PM] Marius Dumitru Florea: I don't have any quick solution. The create job probably needs to be fixed.
      [4:43:32 PM] Marius Dumitru Florea: you should report an issue

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                mouhb Mohamed Boussaa
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

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