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 when dropping a procedure with a parameter #370

Open
MelanieLam opened this issue Jan 25, 2024 · 1 comment
Open

AssertionError when dropping a procedure with a parameter #370

MelanieLam opened this issue Jan 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working source:Jira manually created label in alice3

Comments

@MelanieLam
Copy link
Contributor

MelanieLam commented Jan 25, 2024

The bug occurs when creating a scene procedure with a parameter. If the procedure is already in use, it has to be updated, OK. If you try to drag another invocation of the procedure, the drop sometimes generates an AssertionError. The Queen pops up. The drag and drop action is interrupted. I tell students to save and relaunch Alice. Nothing bad seems to happen after.

Here are the steps to reproduce the error:

  1. Launch Alice. Create a new scene.
  2. Add a scene procedure.
  3. Switch back to myFirstMethod and call the new procedure.
  4. Switch back to the new procedure and add a parameter. Tick the box "I understand I need to update the invocations to this procedure."
  5. Switch back to myFirstMethod.
  6. Fix the invocation (or not, it doesn't matter)
  7. Drag a new invocation of the procedure, and drop it above the existing procedure invocation.
    This generates an "Assertion Error."
@MelanieLam MelanieLam added this to the Alice 3 (Vorpal Blade) milestone Jan 25, 2024
@MelanieLam MelanieLam added the bug Something isn't working label Jan 25, 2024
@dabeshouse dabeshouse added the source:Jira manually created label in alice3 label Apr 26, 2024
@dabeshouse
Copy link
Contributor

I followed these steps and the stack generated is a match for Planning bug 464 so I am closing that as dup of this and updating the Jira search where it is one of our more frequently reported issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working source:Jira manually created label in alice3
Projects
None yet
Development

No branches or pull requests

2 participants