Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1427

EntityProxyId equality is not reflective

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GWT
    • Labels:
      None

      Description

      with two stable ids that look like this:

      foo.stableId().toString() = [EntityProxyId schema: com.google.gwt.requestfactory.shared.SimpleFooProxyImpl$MySchema id: 1 isFuture: true futureId: null]

      returned.stableId().toString() = [EntityProxyId schema: com.google.gwt.requestfactory.shared.SimpleFooProxyImpl$MySchema id: encoded*1L isFuture: false futureId: null]

      foo.stableId().equals(returned.stableId()) is true
      assertEquals(foo.stableId(), returned.stableId())

      It may be that one of these ids is in an invalid state. If so, that should be made impossible

        Attachments

          Activity

            People

            Assignee:
            rchandia@google.com Rodrigo Chandia
            Reporter:
            rjrjr@google.com Ray Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: