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

Bug: Saving from text mode with import statements persist corrupted entities #2295

Open
1 of 2 tasks
akphi opened this issue Jun 3, 2023 · 0 comments
Open
1 of 2 tasks
Labels
Application: Studio Issues related to Legend Studio application Component: SDLC Component: Text Mode Studio Core Team Opened by a member of the Studio core team Type: Bug
Milestone

Comments

@akphi
Copy link
Contributor

akphi commented Jun 3, 2023

Similar issues

  • I have searched and found no existing similar issues

How are you using Studio?

Legend Studio

Current and expected behavior

If we compile in text mode and save with import statements, we would end up saving entities without the imports (since we cannot persist SectionIndex to SDLC), and since we don't build the graph, we cannot resolve fully-qualified paths either

Steps to reproduce

Screen.Recording.2023-06-03.at.1.57.00.AM.mov

Model data

import model::*;
Class model::A
{
  self: A[1];
}

Environment

No response

Possible solution and workaround

There's no real workaround except if we have SDLC support persisting section index

Contribution

  • I would like to work on the fix for this issue
@akphi akphi added this to the 10.0.0 milestone Jun 3, 2023
@github-actions github-actions bot added the Studio Core Team Opened by a member of the Studio core team label Jun 3, 2023
@github-actions github-actions bot modified the milestones: 10.0.0, 11.0.0 Jul 20, 2023
@github-actions github-actions bot modified the milestones: 11.0.0, 12.0.0 Dec 21, 2023
@github-actions github-actions bot modified the milestones: 12.0.0, 13.0.0 Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Application: Studio Issues related to Legend Studio application Component: SDLC Component: Text Mode Studio Core Team Opened by a member of the Studio core team Type: Bug
Projects
None yet
Development

No branches or pull requests

1 participant