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

Cannot cancel Find and Edit activity

    XMLWordPrintable

    Details

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

      Description

      http://gwt-code-reviews.appspot.com/946802/diff/8001/9006#newcode50
      user/src/com/google/gwt/app/place/FindAndEditProxy.java:50:
      FindAndEditProxy.super.start(display, eventBus);
      This activity doesn't support startup cancellation: super.start() will
      view.setDelegate() (among other things) whether or not the activity was
      cancelled.
      It will be a real problem in the case you switch from a FindAndEditProxy
      (FAEP) to a CreateAndEditProxy (CAEP), if they share the same singleton
      view:
      1. FAEP starts (async)
      2. user changes his mind: FAEP is cancelled (a no-op actually) and CAEP
      is started (synchronous: sets itself as the view delegate)
      3. FAEP async start response arrives: calls super.start which
      overwrites the view's delegate.
      From the ActivityManager POV, FAEP is dead and CAEP is active, but
      actually the view delegates its events to FAEP, and CAEP is "blind"
      (kind of a zombie activity).

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: