Reviewed & tested by the community
Project:
Module Grants
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2014 at 04:15 UTC
Updated:
11 Dec 2014 at 17:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tinker commentedComment #2
izmeez commentedThe patch does not apply. In the patch there is an erroneous line
in the middle.
However, adding the line you suggest
does add the configure link to the modules page.
If you can re-roll the patch I can test it and mark it as RTBC.
Thanks.
Comment #3
tinker commented@izmeez did you apply this patch against 7.x-1.x-dev? I just ran two tests pulling latest source twice, and applying patch using 'git apply' and 'git am', both of which worked. The module_grants.info file does not have a newline so this patch should apply.
Comment #4
izmeez commentedNo, I did it without git.
In the module directory "wget" to fetch the patch and then "patch -p1 <" to apply.
Why does the patch have that line in it anyway?
Haven't had that with patches I've created using git and can apply them on non-git platforms.
Anyway, the fix you provide does what it says and if it is committed all's well.
Thanks.
Comment #5
izmeez commentedoh, and yes I am applying it to 7.x-1.x-dev
Comment #6
tinker commented@izmeez, You probably downloaded the 7.x-1.x-dev release from the module_grants project page. That release is old and contains packing script lines that are not in the GIT version. When applying patches you should always use the latest GIT code from the Version Release tab. That line is in there for cosmetic code format reason. Drupal code standards recommend having a blank new line at the end of each file and the line indicates that there was no newline in the source which causes the patch to add one.
Comment #7
izmeez commented@tinker Thanks. Yes It was the release from the project page.
As you said at the beginning the fix you have provided is a small fix that does what is intended.
I am changing the status to RTBC.