Uploaded image for project: 'Openfire'
  1. OF-459

Search on MUC service always empty

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 3.7.0
    • Fix versions: 3.7.1
    • Components: None
    • Labels:
      None

      Description

      OK!

      Got down and dirty on the source code and found the problem. The code that handes the search request for rooms was working fine (although I think it will be rather slow with too many rooms) but the result set was not being added to the response!

      Thats why I never saw any matches. I just added one line of code, recompiled and now it works. I'll try and contact the authors so they can fix it, or I'll try to commit it to the svn myself.

      In case it is usefull to anyone, the line I added is
      res.add(resultform.getElement());
      On the line 340 of the file at src/java/org/jivesoftware/openfire/muc/spi/IQMUCSearchHandler.java.

      I'll let you know when/if this makes it to the svn

        Attachments

          Activity

            People

            • Assignee:
              Guus der Kinderen
              Reporter:
              Daryl Herzmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: