Skip to content

Fixed member search path parsing#2649

Merged
sebjulliand merged 2 commits intomasterfrom
fix/searchCommaMembers
May 5, 2025
Merged

Fixed member search path parsing#2649
sebjulliand merged 2 commits intomasterfrom
fix/searchCommaMembers

Conversation

@sebjulliand
Copy link
Copy Markdown
Member

Changes

Fixes #2647 .

Searching through a source file containing members with a . in their name would prevent them from being opened from the Search Result view. The paths displayed in the search result view were also truncated.

The member path parsing from grep results has been fixed and it works fine now.

How to test this PR

  1. Create a few members with a . in their name
    image
  2. Search for a term that can be found in several of them
  3. Make sure path are complete (name + type) and that each result can be opened
    image

Checklist

  • have tested my change

Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
@sebjulliand sebjulliand added the bug A confirmed issue when something isn't working as intended label May 5, 2025
@sebjulliand sebjulliand requested a review from a team May 5, 2025 09:34
@sebjulliand sebjulliand self-assigned this May 5, 2025
@sebjulliand sebjulliand had a problem deploying to testing_environment May 5, 2025 09:34 — with GitHub Actions Failure
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 5, 2025

👋 A new build is available for this PR based on 864cea3.

Copy link
Copy Markdown
Member

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

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

Thanks, and the tests are passing - great!

A new test case for a member name with a . is welcome, but optional.

@sebjulliand
Copy link
Copy Markdown
Member Author

Thanks, and the tests are passing - great!

A new test case for a member name with a . is welcome, but optional.

OK I'll add a test case but just because it's you.

Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
@sebjulliand sebjulliand had a problem deploying to testing_environment May 5, 2025 13:31 — with GitHub Actions Failure
@sebjulliand
Copy link
Copy Markdown
Member Author

There you go @worksofliam. I'll let you merge if you're happy with the test case.

Copy link
Copy Markdown
Member

@worksofliam worksofliam left a comment

Choose a reason for hiding this comment

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

@sebjulliand Merge whenever you're ready!

@sebjulliand sebjulliand merged commit 300d561 into master May 5, 2025
4 of 5 checks passed
@sebjulliand sebjulliand deleted the fix/searchCommaMembers branch May 5, 2025 16:30
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.

Bug - Search Source File results with members containing a . in the member name

2 participants