Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check lightweight edges on vertex delete #7886

Closed
luigidellaquila opened this issue Nov 15, 2017 · 3 comments
Closed

Check lightweight edges on vertex delete #7886

luigidellaquila opened this issue Nov 15, 2017 · 3 comments
Assignees
Labels

Comments

@luigidellaquila
Copy link
Member

OrientDB Version: 2.2.30

Expected behavior

Vertices are correctly updated when a vertex linked with lightweight edges is removed

Actual behavior

Stale links

Steps to reproduce

Enable Lightweight Edges
CREATE CLASS SimpleV EXTENDS V
CREATE CLASS SimpleE EXTENDS E
INSERT INTO SimpleV CONTENT {"name":"A"} // this is #25:0
INSERT INTO SimpleV CONTENT {"name":"B"} // this is #25:1
CREATE EDGE SimpleE FROM #25:0 TO #25:1
SELECT FROM SimpleE // empty result, provides that Lightweight Edge was used
DELETE VERTEX #25:1
SELECT FROM SimpleV // returns #25:0, with OUT still showing link to #25:1

@Eric24
Copy link

Eric24 commented Dec 30, 2017

Is this bug scheduled for a fix?

@luigidellaquila
Copy link
Member Author

Hi @Eric24

There is no fixed schedule, but for sure we will address it soon

Thanks

Luigi

luigidellaquila added a commit that referenced this issue Jan 2, 2018
@luigidellaquila
Copy link
Member Author

Just pushed a fix for this bug to 2.2.x branch. Porting it to 3.0

Thanks

Luigi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants