Skip to content

Redispatching actions on same generator #1360

Open
@phiedw

Description

@phiedw

Describe the current behavior

Currently we allow multiple injection range actions to affect the same generator. However this really shouldn't be allowed because the apply method overrides the targetP of the generator. So depending on the order of application of injections, the behaviour is unpredictable.

Describe the expected behavior

We should probably throw at import if we try to add an injection range action that affects a generator affected by another injection range action for the same state. (to still allow pras and cras on same element)

Describe the steps

No response

Environment

No response

Relevant Log Output

No response

Extra Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions