[ 
https://issues.apache.org/jira/browse/OFBIZ-10458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16534666#comment-16534666
 ] 

Gil Portenseigne commented on OFBIZ-10458:
------------------------------------------

I just discussed with [~mthl], so i'll answer myself,

The test writen is a pure Junit test so no need to implement it within a 
OFBizTestCase, and src/test/ is the place to write them down. We just found out 
that gradlew did not detect that the success test has been changed and needed a 
new test, we needed to gradlew cleanTest.

Concerning Uv alias we agreed to launch the subject on dev mailing list :), 
i'll do it soon.

 

> GetLocaleList call can provide duplicate results
> ------------------------------------------------
>
>                 Key: OFBIZ-10458
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10458
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Mathieu Lirzin
>            Assignee: Gil Portenseigne
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10458_0001-Add-failing-tests.patch, 
> OFBIZ-10458_0002-Fix-duplicates-bug.patch, OFBIZ-10458_0003-Refactor.patch
>
>
> This is not a huge issue but I detected an issue with the {{GetLocaleList}} 
> script which when providing both a {{localeString}} and {{localeName}} can 
> provide duplicate results.
> Here is a set of 3 patches that should be applied in order:
>  - the first one is adding some tests with a failing one which identifies the 
> bug
>  - the second one resolves the bug
>  - the third one refactors the code to use a more functional style



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

Reply via email to