You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (Jira)" <ji...@apache.org> on 2020/04/29 09:17:00 UTC

[jira] [Reopened] (OFBIZ-11620) The producttests test suite is brooken

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

Pawan Verma reopened OFBIZ-11620:
---------------------------------
      Assignee: Pawan Verma  (was: Jacques Le Roux)

Hello [~jleroux]

Thanks, for your headsup. I am still getting some error in producttests like:

1. java.lang.ClassNotFoundException: org.apache.ofbiz.product.ProductPromoCondTests

2. java.lang.ClassNotFoundException: org.apache.ofbiz.product.ProductPromoActionTests


3. [ProducAssoc]: org.apache.ofbiz.entity.GenericModelException: Could not find definition for entity name ProducAssoc. Rolling back transaction.

 

I am working on its fix, will commit soon. Thanks!

> 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)