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 2018/12/01 21:57:00 UTC
[jira] [Closed] (TINKERPOP-2108) modifying an existing property
value fails without display
[ https://issues.apache.org/jira/browse/TINKERPOP-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette closed TINKERPOP-2108.
---------------------------------------
Resolution: Not A Bug
The first traversal example that works gets iterated automatically by the console and the second does not because you ended the line and tacked a empty list to the end. if you want the second to work then append {{iterate()}} to the end of the traversal and then add the {{[]}}. of course, you don't need the empty list at the end of the line if you {{iterate()}} because then the traversal returns no results
http://tinkerpop.apache.org/docs/current/tutorials/the-gremlin-console/#result-iteration
> modifying an existing property value fails without display
> ----------------------------------------------------------
>
> Key: TINKERPOP-2108
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2108
> Project: TinkerPop
> Issue Type: Bug
> Components: console
> Affects Versions: 3.3.3
> Environment: Windows 10 Pro
> Reporter: Drew Wozniak
> Priority: Major
>
> When executing the following traversal designed to modify the value of a property, it works if run visibly in the console, but not if run without console display.
> g.V().has('EntryType','MBO').has('MDUpdateAction','Delete').property('MDDisplayQty',0);
> Works
> g.V().has('EntryType','MBO').has('MDUpdateAction','Delete').property('MDDisplayQty',0);[];
> does not work
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)