A patch is a structured file that consists of a list of differences between one set of files and another. The Drupal community makes extensive use of patches to communicate code changes, additions, or deletions between developers.

learn more… | top users | synonyms

-2
votes
0answers
19 views

How do I use this patch provided in the Node Reference URL Widget issue queue?

I'm getting this error "Fatal error: Call to undefined function og_get_context_by_url() in /home/u765432435/public_html/modules/nodereference_url/nodereference_url.module on line 178" in a white ...
2
votes
1answer
51 views

Check for double escaped string - Simpletest

I am trying to create a test case against a patch which will be used for automated testing in D8 release. However, I am trying to do it to check if the page I am on it, has any multiple escaped HTML ...
1
vote
1answer
46 views

pathauto patterns showing an empty page drupal 7

When loading admin/config/search/path/patterns no content/form is showing up. Is there any way to show up the content of the patterns...?
0
votes
1answer
105 views

Drush make unable to determine mime type for js

On every .js library that needs to be downloaded, I keep getting errors like: https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js. Unable to determine mime type for ...
-2
votes
1answer
147 views

update panels 3.3 to 3.4 and patch

It is my first time that I want to patch a module. when I want to update the panels module with drush some message come up that says : PDOException: SQLSTATE[42S02]: Base table or view not found: ...
2
votes
1answer
123 views

How make patch in PHPStorm suitable for Drupal.org?

PHPStorm will create patch in this form: Index: core/modules/node/templates/node-edit-form.html.twig IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 ...
1
vote
3answers
76 views

Place to put patched module under contrib or custom

I am using a contrib module which has a patch in queue to be reviewed, the patch solves my issue. Where should I keep the patched module, keep it inside contrib module or should I move it under custom ...
0
votes
2answers
81 views

How to make changes to the database schema?

I am trying to follow edits made in a php file to patch a module and the instructions just say "In your database schema add this", which I could do if I knew where to find the file. When I look up ...
0
votes
0answers
131 views

How to add summary to webform using webform preview patch?

I have been trying for long to find a way to add summary page to webform 7x-3.19. I used Webform bonus pack (it did not work) and this patch - https://drupal.org/files/webform_preview-435232_1.patch. ...
0
votes
1answer
169 views

How to patch module files with netbeans 7.4? [closed]

Trying to apply patch https://drupal.org/files/webform_preview-435232_1.patch to webform 7.x-3.19 via Netbeans tool - apply dif-patch. Downloaded this patch and put into drupal root directory. When ...
3
votes
2answers
815 views

File structure for custom modules in Drupal 7

I want to organize non-core (modules that are not bundled with core) modules in Drupal 7. This is my proposed structure: Contributed modules - downloaded modules that are untouched Custom modules - ...
1
vote
0answers
346 views

drush make fails on patch download

drush make unsuccessful, because download of patch fails - I have (apparently equal) boxes, on one my drush make fails, on the other it's fine. Unable to download ...
0
votes
1answer
27 views

Writing a patch on a sandbox/dev install using a git branch

I'm working with a Sandbox/Dev hosted VM with Drupal 7 and Commons 3. I want to write and perhaps contribute a patch. Having the site under local version control with git, I create a new branch write ...
4
votes
1answer
1k views

How do I update Drupal 7 Core with only security patches?

I have a old Drupal 7 installation and I would like to update my Drupal 7 to the latest release, but I know for a fact that some of my custom module will break on the latest update. All I want ...
0
votes
1answer
156 views

Patch a module loaded by a distribution

I am trying to make an installation profile that inherits the commerce kickstart distribution. In order to get this to work, I need to apply a bunch of patches through drush make. First I have to ...
1
vote
1answer
123 views

Commit doesn't show up in profile on Drupal site

I submitted my first, (and very small patch) here, by following the instructions here. It looks like the patch worked, but when I look at the Commits tab of my profile, I don't see any entries. When ...
10
votes
2answers
221 views

How do you contribute patches to Drupal core?

What is the proper process to contribute patches to Drupal core? Let's say I find a bug in Drupal core, fix it, and create a patch. How do I submit it? If the bug is in Drupal 7, do I have to also ...
2
votes
3answers
986 views

Overriding contributed module functionality

Every so often, I need to make a little hack to a contributed module to add a bit of needed functionality, usually something specific to the project that the module maintainers probably would not want ...
1
vote
3answers
4k views

Feeds: use custom field as unique field for mapping

I am using D7, Feeds, XPath Parser. For mapping, I need to use a custom field as the unique field. I am retreiving data from booking.com and the unique value their is the hotel id, so i need to save ...
0
votes
1answer
62 views

Why is my patch failing a test?

When a patch fails testing because it doesn't apply, and the error reads "Ensure the patch applies to the tip of the chosen code-base." what does this mean?
0
votes
1answer
80 views

Save patch changes after module upgrading

Am I need to apply patch after every module upgrading? I had a patch, I changed manually handler of views module but yesterday after upgrading Views module I lost all my changes. Is it possible to ...
4
votes
1answer
72 views

detect patches and custom code in core and contrib of an installation [duplicate]

Possible Duplicate: Finding modified modules I've been given a 3 years old Drupal 6 installation. I'm afraid that the original developer has hacked the hell out of core and many contrib ...
1
vote
1answer
140 views

What am I doing wrong in applying patch?

HI im trying to us this patch http://qa.drupal.org/pifr/test/298933 Save the patch file to the root directory of feeds module sites/all/modules/feeds/ Then apply the patch by using git bash ...
0
votes
1answer
4k views

How to install a patch to drupal 7

I recently exprience one problem that requires a patch. I downloaded that file .patch, but have no idea how properly to install that to my hosted website. Thanks in Advance!
4
votes
1answer
343 views

How to manage version control for patched contrib modules?

I got some great feedback regarding patching contrib modules. Is there a good way to keep track of patches to contrib modules? For example, let's say I create a patch for a contrib module and submit ...
5
votes
2answers
101 views

What does test status postponed for a patch on d.o mean?

I've added a patch for the rules module. The patch detail page says the test status is postponed. What does that exactly mean? Is there anything I should do to get the patch tested?
7
votes
2answers
12k views

How do I apply a patch file? [closed]

I downloaded a patch file from mailhandler module and need to apply the changes in order to fix the problem of pop3 accounts not deleting emails after download (import). How do I install it?
0
votes
2answers
1k views

Cygwin Patch fails

I have failed to get my first patch to implement. I loaded cygwin, maneuver to the directory, and enter patch -p0 < ThePatchName.patch Cygwin returns bash: patch: command not found I searched ...
5
votes
1answer
121 views

What does testing a patch mean?

In drupal.org issues when someone creates a patch, in attachment table there is a column named Test result which has a value like FAILED: [[SimpleTest]]: [MySQL] 32,869 pass(es), 2 fail(s), and 0 ...
2
votes
3answers
5k views

Applying a patch doesn't work

I'm having trouble with applying a patch for a Drupal module. I thought it was as simple as using "git apply thepatch.patch," but when I do this in the main directory that holds the .git directory, I ...