You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Yana (JIRA)" <ji...@apache.org> on 2018/08/15 13:17:00 UTC

[jira] [Created] (CAY-2448) Wrong logic of copy function (ObjEntity)

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)