Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-24057

Velocity Macro #userLogoBlockOtherwise uses deprecated GeneralUtil method and breaks in 'dev' mode

    XMLWordPrintable

Details

    Description

      The velocity macro #userLogoBlockOtherwise uses a now deprecated method in the GeneralUtil class. In dev mode, ie. when running integration tests this causes Confluence to throw the following exception:

      [INFO] [talledLocalContainer] java.lang.IllegalArgumentException: (This exception is only thrown when dev.mode is enabled) Velocity template accessing deprecated method com.atlassian.confluence.util.GeneralUtil#isDefaultUserProfilePicture - template/includes/macros.vm[line 1465, column 24]
      

      Attachments

        Activity

          People

            edalgliesh Eric Dalgliesh
            d72b176e529b Shannon Krebs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: