You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2020/03/31 17:40:00 UTC
[jira] [Closed] (TINKERPOP-2350) clone() is not deep copying
Traversal internals
[ https://issues.apache.org/jira/browse/TINKERPOP-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Mallette closed TINKERPOP-2350.
---------------------------------------
Fix Version/s: 3.4.7
3.3.11
3.5.0
Resolution: Fixed
> clone() is not deep copying Traversal internals
> -----------------------------------------------
>
> Key: TINKERPOP-2350
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2350
> Project: TinkerPop
> Issue Type: Bug
> Components: dotnet, python
> Affects Versions: 3.3.10
> Reporter: Stephen Mallette
> Assignee: Stephen Mallette
> Priority: Major
> Fix For: 3.5.0, 3.3.11, 3.4.7
>
>
> I marked this for python but other GLVs should be test as well. A comment on TINKERPOP-2315 demonstrates the problem as:
> {code}
> In [12]: t0 = g.V().hasLabel('OID')
> In [13]: t0
> Out[13]: [['V'], ['hasLabel', 'OID'], ['values', '_ipython_canary_method_should_not_exist_']]
> In [14]: t1 = t0.clone()
> In [15]: t1
> Out[15]: [['V'], ['hasLabel', 'OID'], ['values', '_ipython_canary_method_should_not_exist_'], ['values', '_ipython_canary_method_should_not_exist_']]
> In [16]: t1 = t1.has('u1', 'v1')
> In [17]: t1 Out[17]: [['V'], ['hasLabel', 'OID'], ['values', '_ipython_canary_method_should_not_exist_'], ['values', '_ipython_canary_method_should_not_exist_'], ['has', 'u1', 'v1'], ['values', '_ipython_canary_method_should_not_exist_']]
> In [18]: t0
> Out[18]: [['V'], ['hasLabel', 'OID'], ['values', '_ipython_canary_method_should_not_exist_'], ['values', '_ipython_canary_method_should_not_exist_'], ['has', 'u1', 'v1'], ['values', '_ipython_canary_method_should_not_exist_'], ['values', '_ipython_canary_method_should_not_exist_']]
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)