Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2319

Embeddable > Attributes. Undo does not cancel pasted objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.B1
    • 4.0.B2, 4.1.M1
    • Modeler
    • None
    • Win7 x64

    Description

      Steps:
      1. Create Embeddable
      2. Click on Create Attribute 3 times
      -> 3 attributes are created: untitledAttr, untitledAttr1, untitledAttr2

      3. Select untitledAttr and press 'Copy Attribute' button
      4. Press Paste button 3 times
      -> To the previously created attributes were added 3 more attributes: Copy of untitledAttr (1), Copy of untitledAttr (2), Copy of untitledAttr (3)

      5. Press Undo
      -> Nothing happens - NOT OK

      6. Press Undo again
      -> untitledAttr2 is removed
      -> Please note that not last action is canceled - NOT OK

      7. Press on Undo button a few more times
      -> First, the previously created attributes are removed (not copies), and then Embeddable is deleted - NOT OK, wrong logic

      8. Now press on Redo button as long as it is active
      -> All 'copy of...' are duplicated - NOT OK
      see 1.png

      Expected: Undo cancels the last action

      Dependence on CAY-2312

      Attachments

        1. 1.png
          22 kB
          Yury Harachka

        Issue Links

          Activity

            People

              ntimofeev Nikita Timofeev
              yharachka Yury Harachka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: