Comments (4)
Ran into that situation as well. Even with a clean environment. You should start with a clean environment and try to apply the patch. Revert it when done.
When applying a patch fails you need to create or delete files manually depending on why it fails.
Patches only apply changes to files. They don't correct your environment, you need to do that yourself. What you need to do depends on the situation. Not all patches can be tested this way.
from patchtester.
I'm tracking an issue with when a patch includes binary files, those aren't getting applied correctly. But changes to text files (PHP, CSS, JS) should be fine as long as file permissions in your environment are good. Just note I would HIGHLY encourage using the patch tester against a nightly build (http://developer.joomla.org/cms-packages/) or installing the current GitHub master (https://github.com/joomla/joomla-cms/archive/master.zip). The patch tester doesn't actually patch files as a client side patch tool would (either using git on command line or through your IDE), it's actually completely replacing files and making a backup of the file it replaces so when you click the revert button, you're restored to the correct state. Something I've not looked at is what happens if you're testing two patches touching the same file, and I can see that causing issues, I'd just need to think through how to work that out.
from patchtester.
It won't allow you to apply the second patch when one of the files is already patched. That is based on the file already existing in the backup folder.
Which means you have to revert the first patch.
from patchtester.
Based on what's here closing as expected behavior plus a lot of the underlying engine has been rewritten in the last couple of years.
from patchtester.
Related Issues (20)
- URL in post install message returned a 404 HOT 3
- Fetch data stops on 5th page HOT 11
- ugly filter label HOT 1
- Limit of 30 diff files HOT 9
- Joomla 4 Patchtester shows wrong link to input credentials HOT 2
- Trim whitespaces from search query HOT 1
- Patchtester doesnot work? HOT 1
- search button tooltip prevents mouseclick in search field HOT 1
- [4] Message "while 4.0 is in development" is obsolete HOT 3
- [4] No search possible in the search field HOT 5
- Bad Target Branch label colors - inaccessible. HOT 7
- [PHP 8.1] Deprecated: strtoupper() in libraries\src\MVC\Model\ListModel.php on line 586 HOT 13
- Dependency Dashboard
- An error has occurred while fetching the data from GitHub. HOT 1
- Table 'j4_db.xcmp6_patchtester_pulls_labels' doesn't exist HOT 2
- Deprecated mb_strlen() with php 8.1+ HOT 1
- [PHP 8.1]Warnings and Deprecated message when applying PR - Joomla 4.2.9-dev HOT 1
- Joomla [5.0] HOT 12
- [4.3.1]: The Filter RTC Patches 'No' filter does not work... HOT 5
- Help file for Options is not set HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patchtester.