Yana created CAY-2448:
-------------------------

             Summary: Wrong logic of copy function (ObjEntity)
                 Key: CAY-2448
                 URL: https://issues.apache.org/jira/browse/CAY-2448
             Project: Cayenne
          Issue Type: Improvement
         Environment: Linux Ubuntu 14.04, OS X 
            Reporter: Yana
         Attachments: 1.png

*Cayenne version: 4.1.M2-SNAPSHOT.*

*Steps:*
 1. Choose ObjEntity=> Attribute (for example: address) and press "Copy"
 2. press the button "paste" ("Copy of address" is created)
 3. stay at the position "Copy of address" and press the "Copy" button
 4. then press "Paste"
 The difference is at the letter (at first case it's a capital letter, at the 
second case - a small)

*Actual result:* there are two attributes with next names: "Copy of address" 
and "copy of address". The difference is at the letter (at first case it's a 
capital letter, at the second case - a small).

*Expected:* the logic of "copy" function must be to create "copy", then "copy 
of copy", then "copy of copy of copy"...etc.

!1.png!

*P.S. the same problem for ObjEntity Relationship*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to