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

If bad value is passed to Event, throw error #883

Open
briandrawert opened this issue Oct 19, 2022 · 0 comments · May be fixed by #946
Open

If bad value is passed to Event, throw error #883

briandrawert opened this issue Oct 19, 2022 · 0 comments · May be fixed by #946
Assignees
Labels
bug Something isn't working
Milestone

Comments

@briandrawert
Copy link
Member

The Event below:

    e1 = gillespy2.Event(
        name='e1', trigger=e1_trig,
        assignments=[e1_assign_1],
        delay='', priority='0',
        use_values_from_trigger_time=False
    )

The delay='' block will cause a compile error. It should be caught by validation during the event constructor.

@briandrawert briandrawert added the bug Something isn't working label Oct 19, 2022
@BryanRumsey BryanRumsey added this to the 1.8.3 Release milestone May 16, 2023
@BryanRumsey BryanRumsey self-assigned this May 16, 2023
@BryanRumsey BryanRumsey linked a pull request May 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants