Book a Demo

Author Topic: NOTE paste (as new) doesn't copy links  (Read 4925 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
NOTE paste (as new) doesn't copy links
« on: July 22, 2015, 06:03:32 pm »
[Ctrl+Shift+V] for a Note doesn't copy the Notelinks, even if "include connectors" is set to true

Steps:
Select a Note with Notelinks to other Elements.
Perform a "Paste Element as New" ([Ctrl+Shift+V])
Paste the new element ensuring the [X] Include Connectors is marked.
Only the new Note is created, the Notelinks are not.

Reported,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Takeshi K

  • EA User
  • **
  • Posts: 632
  • Karma: +43/-1
    • View Profile
    • Sparx Systems Japan
Re: NOTE paste (as new) doesn't copy links
« Reply #1 on: July 22, 2015, 07:20:12 pm »
Hi Paolo,

The option 'Include Connectors' is ignored when user selects only one object.

When you select multiple objects (e.g. Note and Class connected by Notelink) and press Ctrl+SHIFT+V, the option works as expected. i.e. only when checked, Notelink will be created.


I this that this behavior is inteded because the help file says so, but I think the option should be disabled when user selects only one object.
--
t-kouno

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: NOTE paste (as new) doesn't copy links
« Reply #2 on: July 22, 2015, 07:59:05 pm »
Quote
Hi Paolo,

The option 'Include Connectors' is ignored when user selects only one object.

When you select multiple objects (e.g. Note and Class connected by Notelink) and press Ctrl+SHIFT+V, the option works as expected. i.e. only when checked, Notelink will be created.


I this that this behavior is inteded because the help file says so, but I think the option should be disabled when user selects only one object.
When all else fails, read the manual!  :-[

Thanks for that!
And YES, the option MUST be disabled when only one element is being pasted.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: NOTE paste (as new) doesn't copy links
« Reply #3 on: August 07, 2015, 07:44:17 am »
Quote
The option 'Include Connectors' is ignored when user selects only one object.
Yes but why? It seems to me the help file is documenting a bug.
I have often wondered why I didn't get the connectors I was expecting when copying an entity.
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: NOTE paste (as new) doesn't copy links
« Reply #4 on: August 07, 2015, 09:05:32 am »
Because 'Include Connectors' is shorthand for 'Duplicate Connectors that exist between the selected elements'.

Actually, it's not ignored. It will include self-connectors.

For connectors to elements outside the current selection, Tools | Options | Objects does have an option 'Copy inheritance links on duplicate'. I guess what you are expecting is for that (or an equivalent option) to work for all outgoing links.
« Last Edit: August 07, 2015, 09:05:50 am by simonm »

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: NOTE paste (as new) doesn't copy links
« Reply #5 on: August 07, 2015, 09:12:45 am »
Quote
For connectors to elements outside the current selection, Tools | Options | Objects does have an option 'Copy inheritance links on duplicate'. I guess what you are expecting is for that (or an equivalent option) to work for all outgoing links.
Ah yes, that is right thank you. It hinges on the interpretation of "Include Connectors".

I certainly viewed it as 'links external to the entities being copied are duplicated' rather than 'only links between entities being copied are copied'.

Perhaps, feature request, both options should be provided for in the copy dialogue ...
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.