Skip to content

Finding a category forum by name incorrectly selects first forum with that name, regardless of category #8

Description

@alexkwolfe

There is a bug in the #find_forum and #find_or_create_forum methods.

Those methods attempt to locate forum by category name and forum name. In the case where different categories have forums with the same name, then a forum from the wrong category may be returned in error.

The fix is to ensure that the forum comparison uses the category ID in addition to the forum name.

A pull request is forthcoming.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions