Closed (fixed)
Project:
Profile 2
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Apr 2011 at 18:18 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ericbroder commentedSeems correct that there should be an ampersand in front of drupal_static: http://api.drupal.org/api/drupal/includes--bootstrap.inc/function/drupal...
Original patch doesn't apply for me though:
Attaching a new patch that hopefully is formatted better.
Comment #2
ericbroder commentedComment #3
jide commentedHmmm weird that the patch did not apply for you, I used branches to create it. What command did you use to apply the patch ?
Comment #4
ericbroder commentedI pretty much tried to follow the instructions here: http://drupal.org/project/profile2/git-instructions
So ultimately the command I used was:
git apply -v [patchname.patch]If you compare our two patches, you can see the only difference is "profile2.module" in yours versus "a/profile2.module" or "b/profile2.module" in mine.
Not sure why this is significant. I'm still learning git ;-)
Comment #5
jide commentedI use the branch methodology I describe here http://www.jide.fr/english/creating-git-patches because it works with drush make (and I find it a more natural workflow). This is discussed in http://drupal.org/node/1054616. Still learning GIT too though ;)
Comment #6
jide commentedBTW, patches done this way work with patch -p0 < file.patch.
Comment #7
fagothanks, committed.
Comment #8
fagoouch, tests showed that more was broken as the static cache wasn't cleared correctly. fixed that.