You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2013/12/28 22:54:50 UTC
[jira] [Commented] (OFBIZ-5450) Duplicated methods in the same
simple methods script
[ https://issues.apache.org/jira/browse/OFBIZ-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858127#comment-13858127 ]
Jacques Le Roux commented on OFBIZ-5450:
----------------------------------------
Thanks for report Sergei,
This has been already resolved at r1364218, I simply backported to
R12.04 r1553936
R11.04 r1553937
> 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
> 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)