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

Deprecated code in attachments macro

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Invalid
    • Affects Version/s: 13.5
    • Fix Version/s: None
    • Component/s: LiveTable
    • Labels:
    • Difficulty:
      Easy
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: