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

Velocity Templates failing on deprecated methods in dev mode

    XMLWordPrintable

Details

    Description

      When Confluence is run in dev mode (ie. atlas-run) velocity templates are throwing errors when the attempt to use any java method that is deprecated. This causes integration tests to fail.

      java.lang.IllegalArgumentException: (This exception is only thrown when dev.mode is enabled) Velocity template accessing deprecated method 
      

      Deprecated methods may be deprecated, but they are not broken. A warning in the logs would be sufficient in this case.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              d72b176e529b Shannon Krebs
              Votes:
              9 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: