atlassian-core now uses resourcebundle for DateUtils - missing for LongRunningTask

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Medium
    • 1.4
    • Affects Version/s: 1.4
    • Component/s: None

      Upgrading to atlassian-core 2.2.4 has meant that DateUtils from core now requires a resourcebundle for many of its date formatting helper methods. LongRunningTask is missing one in its call to prettyElapsedTime!

      ause:
      org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getPrettyElapsedTime' in class com.atlassian.confluence.admin.actions.LongRunningTaskMonitorAction threw exception class java.util.MissingResourceException : Can't find bundle for base name com.atlassian.confluence.admin.actions.LongRunningTaskMonitorAction, locale en_US

      Stack Trace: [hide]

      org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getPrettyElapsedTime' in class com.atlassian.confluence.admin.actions.LongRunningTaskMonitorAction threw exception class java.util.MissingResourceException : Can't find bundle for base name com.atlassian.confluence.admin.actions.LongRunningTaskMonitorAction, locale en_US
      at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:188)
      at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:226)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
      at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
      at org.apache.velocity.Template.merge(Template.java:296)
      at com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:91)
      at bucket.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18)
      at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116)
      at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187)
      at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)
      at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229)
      at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)

              Assignee:
              Nick Faiz [OLD] (Inactive)
              Reporter:
              jens
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: