[ 
https://issues.apache.org/jira/browse/CAY-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikita Timofeev closed CAY-2448.
--------------------------------
       Resolution: Fixed
         Assignee: Nikita Timofeev
    Fix Version/s: 4.1.M3

https://github.com/apache/cayenne/commit/69b731bf4bfa90f975b5982bfec2147515f9b4c3

> 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
>            Assignee: Nikita Timofeev
>            Priority: Minor
>             Fix For: 4.1.M3
>
>         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).
>  !1.png!
> *Expected:* the logic of "copy" function must be to create "copy", then "copy 
> of copy", then "copy of copy of copy"...etc.
> *P.S. the same problem for ObjEntity Relationship*



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

Reply via email to