Broke SearchProvider backwards compatibility in JIRA 3.13.3

XMLWordPrintable

    • 3.13

      We changed the SearchProvider.searchAndSort() interface to take a HitCollector instead of a DocumentHitCollector. This isn't binary compatible and ends up breaking Greenhopper (and potentially other plugins):

      An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. 
      Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'computeStartFor' in class com.pyxis.greenhopper.jira.boards.VersionBoard threw exception class
      java.lang.NoSuchMethodError : com.atlassian.jira.issue.search.SearchProvider.searchAndSort(Lcom/atlassian/jira/issue/search/SearchRequest;Lcom/opensymphony/user/User;Lcom/atlassian/jira/issue/statistics/util/DocumentHitCollector;Lcom/atlassian/jira/web/bean/PagerFilter;)V 
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) 
      at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327) 
      at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) 
      at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) 
      ...
      

      I will re-introduce the old method as a deprecated method delegating through to the new method.

              Assignee:
              Andreas Knecht (Inactive)
              Reporter:
              Andreas Knecht (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: