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

Fix/breadcrumb browse #2499

Merged
merged 2 commits into from
Feb 1, 2025
Merged

Fix/breadcrumb browse #2499

merged 2 commits into from
Feb 1, 2025

Conversation

sebjulliand
Copy link
Collaborator

Changes

This fixes the breadcrumbs navigation for members.

image

The call to getMemberAttributes made by stat would fail for physical files, preventing the navigation from working (clicking on it would do nothing).

This PR fixes this by preventing stat from getting attributes except for members.
It also fixes the library listing in the breadcrumb (clicking on the library would only show QSYS and then it would fail to list anything relevant). QSYS FS now uses a dedicated call to OBJECT_STATISTICS, using *ALLSIMPLE since all we need is a list of names.

How to test this PR

  1. Open a member
  2. Click on a path element in the breadcrumb and try to
  • List libraries
  • List files
  • List members

Checklist

  • have tested my change

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label Jan 31, 2025
@sebjulliand sebjulliand self-assigned this Jan 31, 2025
Copy link
Contributor

👋 A new build is available for this PR based on 7299a1b.

Copy link
Collaborator

@chrjorgensen chrjorgensen left a comment

Choose a reason for hiding this comment

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

@sebjulliand Works like a charm - now... 👍

@chrjorgensen chrjorgensen merged commit 96a75c3 into master Feb 1, 2025
3 checks passed
@sebjulliand
Copy link
Collaborator Author

Much obliged @chrjorgensen 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A confirmed issue when something isn't working as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants