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

Referenced in model navigation fails if destination in a directory #5122

Closed
arunsworld opened this issue Jun 21, 2024 · 1 comment
Closed
Labels
Type:Bug Something isn't working

Comments

@arunsworld
Copy link

Model view has "Referenced in this model" section that shows the sources and models it uses. Clicking tries to navigate to the referenced model/source.

If the model/source is in a directory however, the navigation fails. It appears to assume model/source will always be in the root location.

For instance if the source is abc - navigation happens to /source/abc while the source might actually be in a directory say group, which means it's actually in /source/group/abc

To Reproduce
Steps to reproduce the behavior:

  1. Create a source
  2. Move source to a sub directory
  3. Build a model from the source (Create model button)
  4. Click on the source shown under "Referenced in this model"
  5. Error: File not found
  6. Same issue if reference is another model and that model is in a directory

Expected behavior
Expect to be able to navigate to source/model even if its in a directory.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: chrome/safari
  • Version: 0.46.5 and also HEAD
@arunsworld arunsworld added the Type:Bug Something isn't working label Jun 21, 2024
@mindspank
Copy link
Contributor

Closed via #5143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants