Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5130

getProductCost causes stack overflow if product has mutual variants

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • Trunk
    • None
    • product
    • Bug Crush Event - 21/2/2015

    Description

      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.

      Attachments

        1. OFBiz-5130.patch
          2 kB
          Praveen Agrawal

        Activity

          People

            diveshdut Divesh Dutta
            dagarwal82 Deepak Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: