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/12/21 11:20:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Gareth Carter updated OFBIZ-9738:
---------------------------------
Attachment: OFBIZ-9738.patch
> 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
> Attachments: OFBIZ-9738.patch
>
>
> 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)