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

"Magic connector" broken (at least for the Domain modeler) #2027

Closed
pcdavid opened this issue Jun 5, 2023 · 0 comments · Fixed by #2028
Closed

"Magic connector" broken (at least for the Domain modeler) #2027

pcdavid opened this issue Jun 5, 2023 · 0 comments · Fixed by #2028

Comments

@pcdavid
Copy link
Member

pcdavid commented Jun 5, 2023

  1. Create a new Studio project
  2. Open the Domain diagram
  3. Select "Entity1".
  4. In the contextual palette, select the first entry, (Magic) "Connector".
  5. Click on "Entity2" as the target for the new relation:

screenshot-2023-06-05_16-23

Exception while fetching data (/viewer/editingContext/representation/description/connectorTools[0]/imageURL) : class org.eclipse.sirius.components.diagrams.tools.SingleClickOnTwoDiagramElementsTool cannot be cast to class org.eclipse.sirius.components.collaborative.diagrams.dto.ITool (org.eclipse.sirius.components.diagrams.tools.SingleClickOnTwoDiagramElementsTool and org.eclipse.sirius.components.collaborative.diagrams.dto.ITool are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @238e0d81) Exception while fetching data (/viewer/editingContext/representation/description/connectorTools[1]/imageURL) : class org.eclipse.sirius.components.diagrams.tools.SingleClickOnTwoDiagramElementsTool cannot be cast to class org.eclipse.sirius.components.collaborative.diagrams.dto.ITool (org.eclipse.sirius.components.diagrams.tools.SingleClickOnTwoDiagramElementsTool and org.eclipse.sirius.components.collaborative.diagrams.dto.ITool are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @238e0d81) Exception while fetching data (/viewer/editingContext/representation/description/connectorTools[2]/imageURL) : class org.eclipse.sirius.components.diagrams.tools.SingleClickOnTwoDiagramElementsTool cannot be cast to class org.eclipse.sirius.components.collaborative.diagrams.dto.ITool (org.eclipse.sirius.components.diagrams.tools.SingleClickOnTwoDiagramElementsTool and org.eclipse.sirius.components.collaborative.diagrams.dto.ITool are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @238e0d81)
@pcdavid pcdavid added this to the 2023.6.0 milestone Jun 5, 2023
pcdavid added a commit that referenced this issue Jun 5, 2023
…ata fetchers

Bug: #2027
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Jun 6, 2023
…ata fetchers

Bug: #2027
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant