You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/06/30 15:27:00 UTC
[jira] [Closed] (CAY-2319) Embeddable > Attributes. Undo does not
cancel pasted objects
[ https://issues.apache.org/jira/browse/CAY-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2319.
--------------------------------
Resolution: Fixed
Assignee: Nikita Timofeev
Fix Version/s: 4.1.M1
4.0.B1
> Embeddable > Attributes. Undo does not cancel pasted objects
> ------------------------------------------------------------
>
> Key: CAY-2319
> URL: https://issues.apache.org/jira/browse/CAY-2319
> Project: Cayenne
> Issue Type: Bug
> Components: Modeler
> Affects Versions: 4.0.B1
> Environment: Win7 x64
> Reporter: Yury Harachka
> Assignee: Nikita Timofeev
> Priority: Minor
> Fix For: 4.0.B1, 4.1.M1
>
> Attachments: 1.png
>
>
> *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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)