GitHub user FlorianHockmann opened a pull request:
https://github.com/apache/tinkerpop/pull/561
TINKERPOP-1635 Fix duplicate serialization of element property in
PropertySerializer
This fixes the duplicate serialization issue in gremlin-python's
PropertySerializer:
[https://issues.apache.org/jira/browse/TINKERPOP-1635](https://issues.apache.org/jira/browse/TINKERPOP-1635)
This pull requests removes the second call to `writer.toDict()` and changes
a property value in the respective unit test to an int. That makes the test
fail with the duplicate serialization and pass with the fixed version.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/FlorianHockmann/tinkerpop master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/561.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #561
----
commit 4d0860b5d2f9ddf919c86ffb4e86a2eec68cb9a4
Author: Florian Hockmann <[email protected]>
Date: 2017-02-18T14:05:40Z
Fix duplicate serialization of element property
The GraphSON PropertySerializer in gremlin-python serialized the element
property twice.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---