Skip to content

NoMethodError on nil.distinct in ProductsFinderDecorator #235

Description

@gulzarhussain112

Description:
The ProductsFinderDecorator in Spree Multi-Vendor causes a NoMethodError when no products are found for the given filters, due to calling distinct on a nil object in the execute method.

Proposed Solution:
This issue is addressed in PR #236, which modifies the execute method in ProductsFinderDecorator to handle nil safely.

References:
PR: #236

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions