Submitted by Armando on 2015/04/28 14:33
Hi Pierre

Did something change at some point in the way items (XML way, item + subs) are copied/pasted in IQ...?
Maybe not, but I somehow just realized that pasting doesn't do what I thought it was doing... with pretty disastrous effects here. [Edit : luckily, not too disastrous. We're probably not many users copying/pasting hierarchies with items having multiple parents... in the same hierarchy. Hopefully.]

Description :
 
When an item has multiple parents and is found in several places under a copied hierarchy, that item pasted only once (when the paste process pastes as "new" item, of course, NOT as a new link/parent link).

e.g.

#1 Original outline. 1 & 2 are the same items under A, B and D
 
  • A
    • 1
    • 2
    • B
      • 1
      • 2
    • C
      • D
        • 1
#2 Copied and pasted outline (as new items)
 
  • A
    • 1
    • 2
    • B
    • C
 
Has it always been like that ? I thought I tested it a long time ago and if an item was to be found under several parents, it would then be reproduced several time in the paste process.  I might have dreamed/inferred that, and its very unfortunate... consequences for my work are pretty far reaching (like : a paragraph missing in a paper I submitted last year).

IMO it doesn't really make sense to paste as in the example #2 above when pasting as new items as there's absolutely no way to know what should be found under these incomplete hierarchies, unless ones feels like going through a potentially extremely long process of recreating all the hierarchies from the original model...
 
I understand the potential difficulty to recreate the logic of parent/children multiple linking in a newly pasted/created hierarchy, but even if the multiple links aren't preserved as links inside the copied hierarchy, the items should at least be reproduced, even as autonomous items with only a single link.
 
So pasting the first example would look like, with the various 1 & 2 having different item IDs
 
  • A
    • 1
    • 2
       
    • B
      • 1 [diff. ID]
      • [diff. ID]
         
    • C
      • D
        • [diff. ID]
        • 2 [diff. ID]
 
It seems much, much better to me. Yes, no more multiple links, BUT the hierarchy, structure, meaning... is preserved. And that way it's easy  to create templates and copy/paste them. Otherwise, it becomes quite harder and -- to me -- somewhat defeats some of the advantages of multiple parent linking.
 
Can this problem be confirmed?

If confirmed, can be "fixed" ? Or maybe at least add an option to reproduce all items with multiple "links"... multiple times (diff. IDitem)?
 
Thanks

Comments

I could be wrong, but I don't think that that case was ever considered...
 
But it should be pretty easy to fix it. I'll look into it for the next interim release
 
Pierre_Admin
 

Armando

2015/04/28 21:17

In reply to by Pierre_Admin

Thanks a lot, it would be great.
I really wonder how I missed that for all these years! I probably saw one hierarchy that was intact and didn't bother to check the other ones.
After spending a while analyzing various trees in my DB, there are a few annoying things, but that paragraph in the paper mentioned above was -- fortunately -- the only "panicking" one.
 
-------------------------------------------------------
Windows 8.1
Sony Vaio S Series 13 (SVS131E21L)
Ram:8gb, CPU: Intel i5-3230M, 2.6ghz

gregory

2015/05/22 01:45

In reply to by Pierre_Admin

Hi Pierre.

Is this fixed in v0-9-26PreRel52?
 
Mark GREGORY, Redon, France - GMT +1/+2; EST +6

Pierre_Admin

2015/05/22 09:01

In reply to by gregory

No, but it will be in v0.9.26PreRel53
 

Armando

2015/07/16 00:58

In reply to by Pierre_Admin

Hi Pierre,
 
I don't think this is fixed because I burned my hands again with it.
It's a dangerous one.
 
Unless there's an option I haven't seen?
 
-------------------------------------------------------
Windows 8.1
Sony Vaio S Series 13 (SVS131E21L)
Ram:8gb, CPU: Intel i5-3230M, 2.6ghz

Pierre_Admin

2015/07/16 13:10

In reply to by Armando

No, it did not make it in v53. I'll add it in v54 expected this week or early next week
 

Armando

2015/07/16 13:12

In reply to by Pierre_Admin

[quote=Pierre_Admin]
No, it did not make it in v53. I'll add it in v54 expected this week or early next week
 
[/quote]
 
Cool! Thanks! (I was expecting a post in Portuguese... alas!)
 
-------------------------------------------------------
Windows 8.1
Sony Vaio S Series 13 (SVS131E21L)
Ram:8gb, CPU: Intel i5-3230M, 2.6ghz

Reminder for this bug that makes work (copy/paste) with multiple parents links very difficult. Thanks.
 
-------------------------------------------------------
Windows 8.1
Sony Vaio S Series 13 (SVS131E21L)
Ram:8gb, CPU: Intel i5-3230M, 2.6ghz

This issue is fixed in v0.9.26PreRel56 (finally !)
 

Armando

2015/09/18 20:32

In reply to by Pierre_Admin

[quote=Pierre_Admin]
This issue is fixed in v0.9.26PreRel56 (finally !)
 
[/quote]
 
 
-------------------------------------------------------
Windows 8.1
Sony Vaio S Series 13 (SVS131E21L)
Ram:8gb, CPU: Intel i5-3230M, 2.6ghz