[jira] [Created] (OFBIZ-9738) ShoppingCartItem equals method does not compare object references

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-9738) ShoppingCartItem equals method does not compare object references

Nicolas Malin (Jira)
Gareth Carter created OFBIZ-9738:
------------------------------------

             Summary: ShoppingCartItem equals method does not compare object references
                 Key: OFBIZ-9738
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9738
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: Trunk
            Reporter: Gareth Carter
            Priority: Minor


The default Object class equals method checks for reference equality however ShoppingCartItem does not (I believe it should). When it filters down through the other equals methods some properties have a default value which could be different to the value stored in the object



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)