Skip to content

[Workflow] State machine is blocked by marking #34489

@ro0NL

Description

@ro0NL

Symfony version(s) affected: encountered on 4.3

We have a state machine with some transition having multiple "froms":

do-it:
  from: [A, B]
  to: C

Then we have a guard event for this transition, at this point the current marking is e.g. A.

We add a transition blocker.

During apply we see The marking does not enable the transition., where our custom "explanation" from the transition blocker was expected.

I think a bug lies in

https://github.com/symfony/symfony/blob/4.3/src/Symfony/Component/Workflow/Workflow.php#L257-L278

Our current place is "A", but it expects A and B to be set in the marking 🤔

Is this something Petri net specific still?

cc @lyrixx :) maybe im missing it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy