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

TemporaryAttachmentsScriptService#uploadTemporaryAttachment return an XWikiAttachment instance

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      TemporaryAttachmentsScriptService#uploadTemporaryAttachment is  returning an XWikiAttachment instance (or anything from com.xpn.xwiki.doc)

       

      It should either:

      1. check the rights
      2. return an Attachment instead

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: