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

Critical, Par, and Alt are all having the same issue on mermaid life. #5040

Open
BrianMinister opened this issue Nov 17, 2023 · 0 comments
Open
Labels
Area: Documentation Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@BrianMinister
Copy link

Description

the following give me the following error: Error: Trying to inactivate an inactive participant (UP)

    sequenceDiagram
    actor U1
    box Coreproduct, Inc Customer Facing Services
    participant IDP
    participant UP
    participant LP
    participant RBS
    participant ETL
    end
    box External Services
    participant S1
    participant S2
    end
    U1->>+IDP: Auth
    IDP->>+UP: After Auth
    UP-->>+RBS: Load Environment
    RBS-->>-UP: <<jSON Result>>
    critical is not a Book
        UP->>-U1: Show UP
    option Is a Book with lic
        UP->>-U1: Show UP, no Software notification
        U1-->>+UP: Click on buy Software
        UP-->>+LP: Display the available Software
    option Is a Book without a Software lic
        UP->>+U1: Show UP, with Software notification
    end

I was expecting mermaid to support 3 or more options as the documentation shows.

Steps to reproduce

  1. Open Mermaid Live
  2. Copy sample and past into Mermaid Live editor
  3. Enjoy error.

Screenshots

image
image

Code Sample

sequenceDiagram
    actor U1
    box Coreproduct, Inc Customer Facing Services
    participant IDP
    participant UP
    participant LP
    participant RBS
    participant ETL
    end
    box External Services
    participant S1
    participant S2
    end
    U1->>+IDP: Auth
    IDP->>+UP: After Auth
    UP-->>+RBS: Load Environment
    RBS-->>-UP: <<jSON Result>>
    critical is not a Book
        UP->>-U1: Show UP
    option Is a Book with lic
        UP->>-U1: Show UP, no Software notification
        U1-->>+UP: Click on buy Software
        UP-->>+LP: Display the available Software
    option Is a Book without a Software lic
        UP->>+U1: Show UP, with Software notification
    end

Setup

  • Mermaid version: v10.6.1
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

fix live editor

Additional Context

No response

@BrianMinister BrianMinister added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Documentation Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants