Cayenne
  1. Cayenne
  2. CAY-1701

Modeler cannot undo pasting of obj (db) entity

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1M3
    • Fix Version/s: 3.1B2, 3.2M1
    • Component/s: Modeler
    • Labels:
      None

      Description

      1. Create and copy/paste obj entity, db entity or embeddable
      2. Press Undo
      -> Pasted entity is not removed though undo action is performed (redo button becomes active and, if pressed, pastes another entity)

        Activity

        Hide
        Andrei Veprev added a comment -

        Patch with the fix

        Show
        Andrei Veprev added a comment - Patch with the fix
        Hide
        George Filipovich added a comment -

        Retested on 3.1M4 - issue is still there, though behavior is bit different:
        If several consecutive paste operations of different entities are made, modeler treats it as single action and undoes all of them at once. Also if Redo is pressed it will make first copy-pasted entity appear as "CopyofCopy..."

        Show
        George Filipovich added a comment - Retested on 3.1M4 - issue is still there, though behavior is bit different: If several consecutive paste operations of different entities are made, modeler treats it as single action and undoes all of them at once. Also if Redo is pressed it will make first copy-pasted entity appear as "CopyofCopy..."
        Hide
        Ilya Drabenia added a comment -

        This patch require 3.1 branch

        Show
        Ilya Drabenia added a comment - This patch require 3.1 branch
        Hide
        Andrus Adamchik added a comment -

        Applied Ilya's patch

        Show
        Andrus Adamchik added a comment - Applied Ilya's patch

          People

          • Assignee:
            Andrus Adamchik
            Reporter:
            Andrei Veprev
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development