ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ingo Wolfmayr (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-10845) Product Search Constraint on CountBy...methods
Date Mon, 04 Mar 2019 07:08:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-10845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ingo Wolfmayr updated OFBIZ-10845:
----------------------------------
    Attachment: SearchCount.patch

> Product Search Constraint on CountBy...methods
> ----------------------------------------------
>
>                 Key: OFBIZ-10845
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10845
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce, product
>    Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, Release Branch
15.12, Release Branch 16.11
>            Reporter: Ingo Wolfmayr
>            Priority: Minor
>             Fix For: Release Branch 13.07, Release Branch 14.12, Trunk, Release Branch
15.12, Release Branch 16.11
>
>         Attachments: SearchCount.patch
>
>
> If a search constraint like featuresId or categorieId is applied, the CountBy...methods
in the ProductSearchSession fail.
> Error: mainProductId field is missing.
> Attached is a patch that fixes the problem.
> *Test:*
>  # Enable LayeredNavigation function in ecommerce module.
>  # Add feature "TEXT_BLACK" to product GZ-1000 as standard feature
>  # Add "ProductSearchSession.searchAddConstraint(new ProductSearch.FeatureConstraint("TEXT_BLACK",
true), session);" in LayeredNavigation.groovy before "result = ProductSearchSession.getProductSearchResult(request,
delegator, prodCatalogId);"
>  # Navigate to the product via category menu.
>  # --> GZ-1000 should not be visible + no error message



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message