Skip to content

Fix replacing every src string / Issue from Weblinks repo#376

Merged
roland-d merged 2 commits intojoomla-extensions:masterfrom
mahmoudmagdy1-1:apply_patch
Aug 21, 2025
Merged

Fix replacing every src string / Issue from Weblinks repo#376
roland-d merged 2 commits intojoomla-extensions:masterfrom
mahmoudmagdy1-1:apply_patch

Conversation

@mahmoudmagdy1-1
Copy link
Copy Markdown

Pull Request for Issue 591 from weblinks.

Summary of Changes

When using patchtester to test components, it replaces every /src folder with empty string (it removes it from the path) but in reality we only need to remove the first /src occurrence only, otherwise if the the pull request we checking the changes from has another /src in it's path its going to get removed and we get this error
The file marked for modification does not exist, like the issue in the link above

Testing Instructions

  1. Login as Admin
  2. Fetch data from the Weblinks GitHub Repository using patchtester
  3. Apply a patch from any pull request that includes file path changes containing /src

@alikon
Copy link
Copy Markdown

alikon commented Aug 19, 2025

image

cannot mark succesully tested on https://issues.joomla.org/

@roland-d roland-d merged commit 1483582 into joomla-extensions:master Aug 21, 2025
1 check passed
@roland-d
Copy link
Copy Markdown
Collaborator

@mahmoudmagdy1-1 Thank you for the pull request, this is now merged and will be included in the next release of the Patch Tester.

@roland-d roland-d added this to the 5.0.1 milestone Jan 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants