Skip to content

Remove both owner and memberNamespace in model browser #2989

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

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

amolenaar
Copy link
Member

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

When creating a stereotype, a ghost/rogue element appears at the root of the model browser.

Issue Number: #2987

What is the new behavior?

When removing an element, remove it both from the owner and from the memberNamespace branches in the model browser.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

So there's no lingering elements around.
@amolenaar amolenaar linked an issue Jan 7, 2024 that may be closed by this pull request
3 tasks
@amolenaar amolenaar requested a review from danyeaw January 7, 2024 16:58
@github-actions github-actions bot added the python Pull requests that update Python code label Jan 7, 2024
@amolenaar amolenaar added fix A fix for a bug and removed python Pull requests that update Python code labels Jan 7, 2024
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @amolenaar, I have just been recently creating new Stereotypes and I can make use of this fix immediately 👍

@danyeaw danyeaw merged commit c1e8018 into main Jan 7, 2024
@danyeaw danyeaw deleted the extension-ownership branch January 7, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ghost element in model browser after stereotype creation
2 participants