ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Divesh Dutta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5130) getProductCost causes stack overflow if product has mutual variants
Date Mon, 04 Jul 2016 05:28:10 GMT

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

Divesh Dutta commented on OFBIZ-5130:
-------------------------------------

[~dagrawal] please give your inputs on real world use case of mutual variants . If we do not
get your inputs in next few days then I will discard this ticket. 

> getProductCost causes stack overflow if product has mutual variants
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-5130
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5130
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Deepak Agarwal
>            Assignee: Divesh Dutta
>              Labels: crash
>         Attachments: OFBiz-5130.patch
>
>
> Cost of product A = 0
> Cost of product B = 0
> B is variant of A and A is variant of B.
> Now getProductCost causes a never ending recursive loop. This causes jvm to exit (prior
to Jdk1.6_34, atleast in my knowledge) without any crash dump.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message