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

Lane naming only possible with at least 2 lanes #2257

Open
Ainges opened this issue Nov 5, 2024 · 5 comments
Open

Lane naming only possible with at least 2 lanes #2257

Ainges opened this issue Nov 5, 2024 · 5 comments
Labels
backlog Queued in backlog bug Something isn't working pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day

Comments

@Ainges
Copy link

Ainges commented Nov 5, 2024

Describe the Bug

If a new pool is created, the individual lane cannot be named. A workaround is to add a second lane. If this lane is then removed again, the name of the first lane is retained.
Due to this behaviour, I assume that this is a bug and not an intended behaviour.

Steps to Reproduce

  1. Create new Model
  2. Add Pool
  3. Try to give the Lane a name

Expected Behavior

I would expect that even in a pool where there is only one lane, I would be able to name it.

Environment

  • Browser: Chrome Version 130.0.6723.71 (Official Build) (arm64)
  • OS: MacOS 15.1
  • Library version: demo.bpmn.io on 05.11.2024
@Ainges Ainges added the bug Something isn't working label Nov 5, 2024
@philippfromme
Copy link
Contributor

When creating a participant no lane will be created until you create a "second" lane. Would you expect a single lane to always be created?

@philippfromme
Copy link
Contributor

philippfromme commented Nov 5, 2024

As a workaround, you can create a "second" lane and then remove it:

brave_gzf6DALhYr

@philippfromme philippfromme added pr welcome We rely on a community contribution to improve this. backlog Queued in backlog spring cleaning Could be cleaned up one day labels Nov 5, 2024
@Ainges
Copy link
Author

Ainges commented Nov 6, 2024

Hello, thanks for the quick reply. Yes, I already know the workaround as described above. However, I would actually expect to be able to assign a name for the lane directly.

@nikku
Copy link
Member

nikku commented Nov 7, 2024

@Ainges What is your use-case to assign a name for the only lane within a pool? Could you elaborate? This is simply not implemented on our end, because we don't see the use-case for this.

@Ainges
Copy link
Author

Ainges commented Nov 11, 2024

Thank you for your interest.
Of course, using the workaround is not a major issue. However, during a lecture last week, the question arose as to why it’s necessary. As I understand it, the labeling of the pool is synonymous with the process being executed. Even if there is only one role within the process, we label it explicitly. This led to the question of why the approach is so cumbersome and whether it might be a bug. For this reason, I created the ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog bug Something isn't working pr welcome We rely on a community contribution to improve this. spring cleaning Could be cleaned up one day
Projects
None yet
Development

No branches or pull requests

3 participants