You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Gareth Carter (JIRA)" <ji...@apache.org> on 2018/05/29 19:15:00 UTC

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

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

Gareth Carter commented on OFBIZ-9738:
--------------------------------------

Has this been worked on? [~saurabh.dixit]

> 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
>            Assignee: Saurabh Dixit
>            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
(v7.6.3#76005)