Nikita Timofeev created CAY-2801:
------------------------------------

             Summary: Incorrect equals() implementation in IdGenerationMarker 
could cause data missing in the commit
                 Key: CAY-2801
                 URL: https://issues.apache.org/jira/browse/CAY-2801
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 4.2.RC2
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             Fix For: 4.2, 5.0.M1


{{IdGenerationMarker}} class uses parent id hash as a data source for the 
equals() method.
This could cause severe problems like data missing in the commit in case of the 
hash collision in two ids and usage of the 
{{OpIdFactory.ReplacementAwareObjectId}} id implementation.

See also this mail thread: 
https://lists.apache.org/thread/2hdsn7vzdbbsgzvjt9mxwxkfo81m79wq



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to