You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2018/02/02 15:57:02 UTC

[jira] [Closed] (OFBIZ-10146) Removing of loadBestSellingCategory and all related methods in CategoryServices.xml

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

Jacques Le Roux closed OFBIZ-10146.
-----------------------------------
       Resolution: Implemented
    Fix Version/s: Upcoming Branch

Thanks Dennis,

Your patch is in trunk at revision: 1822978  


> Removing of loadBestSellingCategory and all related methods in CategoryServices.xml
> -----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-10146
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10146
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Dennis Balkir
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10146.patch, OFBIZ-10146.patch
>
>
> While doing some conversions from MiniLang to Groovy, I stumbled across these methods:
> {{loadBestSellingCategory}}
> {{RemoveProductFromBestSellCategory}}
> {{AddProductToBestSellCategory}}
> {{FindCategoryChild}}
> {{FindBestSellingProduct}}
> These are all in {{CategoryServices.xml}}.
> I started realizing, that the simple-method {{loadBestSellingCategory}} doesn't work right (there are some logical failures in it) and while fixing it,
> I searched for places where this is used, but couldn't find any.
> I started looking deeper into it and found that all of these methods are never used anywhere in OFBiz, neither are the services which are declared for this methods.
> This is why I propose to remove them; they have no real use, since they don't work properly, and also are never used.



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