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

Jacques Le Roux closed OFBIZ-5450.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 12.04
                   Release Branch 11.04
         Assignee: Jacques Le Roux

> Duplicated methods in the same simple methods script
> ----------------------------------------------------
>
>                 Key: OFBIZ-5450
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5450
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: Release Branch 12.04
>            Reporter: Sergei Biletnikov
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 11.04, Release Branch 12.04
>
>         Attachments: OFBIZ-5450.patch
>
>
> I found in ofbiz.log, that we have duplicated simple methods in the same file:
> 2013-12-28 02:29:37,658 (default-invoker-Thread-16) [   
> MiniLangValidate.java:185:WARN ] Duplicate method name found Method = 
> createDataCategory, File = 
> file:/D:/Projects/OFBiz-12.04/applications/content/script/org/ofbiz/content/data/DataServices.xml,
>  Element = <simple-method>, Line 231
> 2013-12-28 02:29:37,658 (default-invoker-Thread-16) [   
> MiniLangValidate.java:185:WARN ] Duplicate method name found Method = 
> updateDataCategory, File = 
> file:/D:/Projects/OFBiz-12.04/applications/content/script/org/ofbiz/content/data/DataServices.xml,
>  Element = <simple-method>, Line 238
> the fix is trivial, we should remove one of "createDataCategory", 
> "updateDataCategory"   and "deleteDataCategory". "removeDataCategory" is used 
> for the corresponding service.
> Please, find the patch in the attachment.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to