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

Deprecated code in attachments macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Blocker
    • None
    • 13.5
    • LiveTable
    • Easy

    Description

      Author column in the attachments macro shows correct author only for the uppermost row. All subsequent rows show "Unknown display mode." as message.

      Logs show the following warnings:

      • Deprecated usage of method [org.apache.velocity.tools.generic.SortTool.sort] in xwiki:Main.AttachmentsMacro@84,46
      • Deprecated usage of getter [com.xpn.xwiki.api.DeprecatedContext.getUser] in xwiki:Main.AttachmentsMacro@113,45
      • Deprecated usage of method [org.xwiki.velocity.tools.CollectionsTool.reverse] in xwiki:Main.AttachmentsMacro@120,35
      • Deprecated usage of getter [com.xpn.xwiki.api.Attachment.getFilesize] in xwiki:Main.AttachmentsMacro@23,31

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            Pako Patrick Koska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: