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

v2022x refresh2, Cliking on the Dynamic Session in the VE Tree does not result in a transition #227

Closed
AY7356 opened this issue May 13, 2024 · 2 comments · May be fixed by #229
Closed

v2022x refresh2, Cliking on the Dynamic Session in the VE Tree does not result in a transition #227

AY7356 opened this issue May 13, 2024 · 2 comments · May be fixed by #229

Comments

@AY7356
Copy link

AY7356 commented May 13, 2024

When a dynamic session is created in Cameo V2022’s MDK, it appears on the Tree on the left side of the View editor, but clicking on it does not navigate to the page.

Environment:

MDK version: 6.1.0
VE version: 5.0.0
MMS Version: 4.0.20
MagicDraw or Cameo Systems Modeler Version: v2022x refresh2
Operating system: [e.g., Windows 10, macOS Mojave] Windows 11

@AY7356
Copy link
Author

AY7356 commented May 20, 2024

Hello,

I have found a solution regarding this issue and would like to share it.

It appears that the method of obtaining the ID during page transitions was different.

I made the following modifications, built it myself, and confirmed that it works. However, I have not been able to check all the impacted areas, so could you please review it?

Modified file:
src/ve-app/pane-left/left-pane.component.ts

Line 437

before modification:

const viewId = branch.type !== 'view' ? branch.viewId : branch.data.id;

after modification:

let viewId = '';
if (branch.type === 'view' || branch.type === 'section') {
viewId = branch.data.id;
} else {
viewId = branch.view.id;
}

@AY7356
Copy link
Author

AY7356 commented May 21, 2024

Thank you for the correction.

@AY7356 AY7356 closed this as completed May 21, 2024
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

Successfully merging a pull request may close this issue.

1 participant