[
https://issues.apache.org/jira/browse/TINKERPOP-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Mallette closed TINKERPOP-2516.
---------------------------------------
Fix Version/s: 3.4.11
3.5.0
Assignee: Stephen Mallette
Resolution: Fixed
Fixed with
https://github.com/apache/tinkerpop/commit/e7f0669f4acc2285659b569df2775511ff1838fd
as CTR - new error is like:
{code}
gremlin> g.V().property(id, 100)
T.id is immutable on existing elements
Type ':help' or ':h' for help.
Display stack trace? [yN]
{code}
> Property folding has trouble with coalesce
> ------------------------------------------
>
> Key: TINKERPOP-2516
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2516
> Project: TinkerPop
> Issue Type: Bug
> Components: process
> Affects Versions: 3.4.9
> Reporter: Christopher Smith
> Assignee: Stephen Mallette
> Priority: Major
> Fix For: 3.5.0, 3.4.11
>
>
> This appears closely related to TINKERPOP-2112. I had some working code that
> was appending {{.property(T.id, str)}} to the results of an {{addE}} call.
> However, I have refactored that code so that the call to set the ID is
> appended to a {{coalesce}} call:
> {code:java}
> gts.V(Vo).coalesce(
> // guard condition
> __.addE("rel").to(Vi).property("foo", bar)
> );
> {code}
> This formulation triggers the same {{T$2 cannot be cast to String}} error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)