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 2019/06/05 18:38:00 UTC

[jira] [Closed] (TINKERPOP-2232) RemoteStrategy does not call parent class TraversalStrategy __init__

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

stephen mallette closed TINKERPOP-2232.
---------------------------------------
       Resolution: Fixed
         Assignee: stephen mallette
    Fix Version/s: 3.4.3
                   3.3.8

Fixed via CTR:

{code}
>>> g = traversal().withRemote(DriverRemoteConnection('ws://localhost:8182/gremlin','g'))
>>> g.traversal_strategies
[RemoteStrategy]
{code}

https://github.com/apache/tinkerpop/commit/f2602ff64a086dba23f1ed2566850365b89310a7

> RemoteStrategy does not call parent class TraversalStrategy __init__
> --------------------------------------------------------------------
>
>                 Key: TINKERPOP-2232
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2232
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: driver
>    Affects Versions: 3.3.6, 3.4.1
>            Reporter: James Farrow
>            Assignee: stephen mallette
>            Priority: Minor
>             Fix For: 3.3.8, 3.4.3
>
>
> Attempting to print the traversal_strategies property on a TraversalSource results in
> {code:java}
> AttributeError: 'RemoteStrategy' object has no attribute 'strategy_name' 
> {code}
> It appears RemoteStrategy.__init__ does not call its parent constructor TraversalSource.__init__ so strategy_name and configuration are not being initialised.



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