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

Drag and drop multiple deployment links #2884

Open
GlennPlou opened this issue Jul 5, 2024 · 0 comments
Open

Drag and drop multiple deployment links #2884

GlennPlou opened this issue Jul 5, 2024 · 0 comments

Comments

@GlennPlou
Copy link
Contributor

GlennPlou commented Jul 5, 2024

PR: #2885

When drag and dropping a deployment link (with multiple deployment links enabled), other links are removed.

For example, if I drop PC4 from PC2 to PC3, PC4 in PC1 is removed and should not.
image
image

Steps to reproduce:

Initialization

  • Create a new PAB diagram, add 3 Physical Components with "Node PC" tool and another one with "Deploy Behavior PC".
    image
  • In Window > Preferences > Capella > Model, check "Multiple deployment allowed"
    image
  • Add a deployment for "PC 4" in "PC 1" with "Manage Behavior PCs Deployment" tool in palette.
    image
    image
  • In Filters and Customization of the Capella Project Explorer, uncheck "Parts" filter to reveal "[Part Deployment Link]" in the Project Explorer
    image
    image

Scenario

  • Drag and Drop PC 4 from PC 2 to PC 3.
    Expected: PC 4 is removed from PC 2, added to PC 3, and PC 1 remain unchanged.
    Actual: K-O --> All previous references of PC 4 have been removed (Deploying Parts in Properties view > Semantic tab), and two have been added in PC 3 (Deployment Links in Properties view > Semantic tab)
    image
    image
  • Undo. Drag and drop PC 4 from PC 2 to PC 1.
    Expected: DnD is not allowed since PC 2 is already deployed in PC 1.
    Actual: K-O --> Drag and drop is made. PC 2 has no longer PC 4 Deployment Link, and PC 1 has two Deployment Links
    image
GlennPlou added a commit to GlennPlou/capella that referenced this issue Jul 9, 2024
When multiple DeploymentsLinks are enabled, the drag and drop of a
Component or a Part with several DeploymentLinks doesn't remove existing
DeploymentsLinks that are not affected by the reference update.

Signed-off-by: Glenn Plouhinec <[email protected]>
GlennPlou added a commit to GlennPlou/capella that referenced this issue Jul 9, 2024
GlennPlou added a commit to GlennPlou/capella that referenced this issue Jul 9, 2024
When multiple DeploymentsLinks are enabled, the drag and drop of a
Component or a Part with several DeploymentLinks doesn't remove existing
DeploymentsLinks that are not affected by the reference update.

Signed-off-by: Glenn Plouhinec <[email protected]>
GlennPlou added a commit to GlennPlou/capella that referenced this issue Jul 10, 2024
When multiple DeploymentsLinks are enabled, the drag and drop of a
Component or a Part with several DeploymentLinks doesn't remove existing
DeploymentsLinks that are not affected by the reference update.

Signed-off-by: Glenn Plouhinec <[email protected]>
GlennPlou added a commit to GlennPlou/capella that referenced this issue Jul 10, 2024
When multiple DeploymentsLinks are enabled, the drag and drop of a
Component or a Part with several DeploymentLinks doesn't remove existing
DeploymentsLinks that are not affected by the reference update.

Signed-off-by: Glenn Plouhinec <[email protected]>
GlennPlou added a commit to GlennPlou/capella that referenced this issue Oct 15, 2024
GlennPlou added a commit to GlennPlou/capella that referenced this issue Oct 15, 2024
When multiple DeploymentsLinks are enabled, the drag and drop of a
Component or a Part with several DeploymentLinks doesn't remove existing
DeploymentsLinks that are not affected by the reference update.

Signed-off-by: Glenn Plouhinec <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant