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

Attachment Selector macro doesn't upload files when save mode is form (default)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 18.4.0
    • 18.3.0-rc-1
    • Attachments
    • High
    • Unknown
    • N/A
    • N/A

    Description

      Put this in a wiki page:

      {{attachmentSelector classname="XWiki.XWikiUsers" property="avatar"/}}
      

      Then edit that page in Inline Form edit mode in order to get the "Choose an attachment" button. Click on that button, then on "Browse" and select a file to upload. Finally, click on "Upload and select" button. This closes the attachment selector. Open it again and notice that the file you previously "uploaded and selected" is not listed.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: