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

AssertionError on editing links edge case #140

Open
irgolic opened this issue Sep 25, 2020 · 0 comments
Open

AssertionError on editing links edge case #140

irgolic opened this issue Sep 25, 2020 · 0 comments

Comments

@irgolic
Copy link
Member

irgolic commented Sep 25, 2020

Add two file widgets and a test and score,
connect both (Data -> Data, Data -> Test Data),
move the test and score widget such that the two links are close together,
double-click them such that both links' hitboxes are hit (two edit links windows will open),
create a link in one widget that will disconnect the link in the other widget, (e.g., in the Data -> Data widget, create a Data -> Test Data connection)
then delete that one in the other window (e.g., delete the Data -> Test Data connection in the other link).

-------------------------- AssertionError Exception ---------------------------
Traceback (most recent call last):
  File ".../orangecanvas/document/schemeedit.py", line 1634, in __onLinkActivate
    action.edit_links()
  File ".../orangecanvas/document/interactions.py", line 1130, in edit_links
    assert len(links) == 1
AssertionError
-------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant