HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Invalid Search Results

I've recently begun using this add-on, but I'm having an issue with discussion results that are invalid. I'm using the latest version from the repository. It generates results with a URL like:

https://domain.com/forums/discussion/comment/#Comment_

They have no profile information or other metadata:

I'm planning to dig in to the code, but if this is something you can work out more quickly, that'd be great. I've compared the database rows of those that don't work to those that do and can find no issue there.

Comments

  • agcyphersagcyphers Nooooop.

    All results like this are discussions, not comments on discussions.

  • agcyphersagcyphers Nooooop.
    edited May 2020

    Enabling the debug message at line 345 of class.searchmodel.php, I can see that all of the results that exhibit this issue are showing a DiscussionID of NULL, but they do have IDs in the database.

  • agcyphersagcyphers Nooooop.

    Discussion continued here for those interested. Looks like something broke in Vanilla 3.3.

Sign In or Register to comment.