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 2020/05/04 17:36:00 UTC
[jira] [Comment Edited] (OFBIZ-11620) The producttests test suite
is brooken
[ https://issues.apache.org/jira/browse/OFBIZ-11620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17099167#comment-17099167 ]
Jacques Le Roux edited comment on OFBIZ-11620 at 5/4/20, 5:35 PM:
------------------------------------------------------------------
Weirdly (for now) this works with {{ gradlew "ofbiz --test component=product --test suitename=producttests"}} but [not in Framework only integration tests|https://ci.apache.org/builders/ofbizTrunkFramework?numbuilds=100], maybe data missing from ecommerce...
was (Author: jacques.le.roux):
Weirdly (for now) this works with {{ gradlew "ofbiz --test component=product --test suitename=producttests"}} but not in Framework integration test, maybe data miss from ecommerce...
> The producttests test suite is brooken
> --------------------------------------
>
> Key: OFBIZ-11620
> URL: https://issues.apache.org/jira/browse/OFBIZ-11620
> Project: OFBiz
> Issue Type: Bug
> Components: product
> Affects Versions: Trunk
> Reporter: Jacques Le Roux
> Assignee: Pawan Verma
> Priority: Major
> Fix For: Upcoming Branch
>
>
> It was initially broken by OFBIZ-9905 so only trunk was concerned. The fix is simple: there should be no space at the beginning of the file.
> But then, when running the test suite, other issues raise. I guess they were hidden because of the initial issue.
> OFBIZ-10231 introduced 2 issues
> A syntax error:
> {{product.removeRelated("ProductKeyword", product)}}
> instead of
> {{product.removeRelated("ProductKeyword")}}
> A wrong usage of storeByCondition
> I'll soon commit the solutions
--
This message was sent by Atlassian Jira
(v8.3.4#803005)