Fixed with this patch

CommentFileSizeAuthor
#4 1928318_caktux.patch616 bytesmile23
registration-strictwarning.patch604 bytescaktux

Comments

mrharolda’s picture

Status: Active » Reviewed & tested by the community

Patch also applies cleanly to registration (7.x-1.1) and solves the warning.

@caktux, please set the status of an issue to 'needs review' if you attach a patch!

knowledges33ker’s picture

MrHaroldA,

What did you change in the patch file (if anything) to apply this to 7.x-1.1? I tried patching the module and got the following error:

Ashleys-MacBook-Air:registration ash$ patch < registration-strictwarning.patch --dry-run
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: includes/registration.forms.inc
|===================================================================
|--- includes/registration.forms.inc (revision 4702)
|+++ includes/registration.forms.inc (working copy)
--------------------------
File to patch: c

mrharolda’s picture

Perhaps you should have used the -p or --strip option?

Well ... did you? ;) Please try -p1.

mile23’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new616 bytes

It's generally much easier with git anyway:

wget [URL of patch]
git apply [patch file]

Speaking of which, here's a re-roll.

mrharolda’s picture

Status: Needs review » Reviewed & tested by the community

It's not changed functionally, so setting it back to RBTC.

knowledges33ker’s picture

I tried a couple of -p options but I'm fairly new to all of this so I don't think I did it correctly. Is the patch file supposed to be in the main folder for the registration module or in the includes folder? Maybe that is where I'm getting stuck.

mile23’s picture

Generally the patch file should be in the project folder, at the top level.

Also, I set my patch to 'needs review' in hopes that the automated test would run. I guess that's not enabled for this project.

knowledges33ker’s picture

Thanks, Mile23! I'll give it a try today. I have no idea about the needs review -> automation but I hope that it gets reviewed ;-)

rerooting’s picture

Patch applies fine for me!

kclarkson’s picture

I was receiving the same error in the COD Distribution. Patch applied cleanly please commit :)

knowledges33ker’s picture

Patch applies for me and resolves the issue.

thomas cys’s picture

Patch works like a charm. Thanks!

retrodans’s picture

Worked well for me too

levelos’s picture

Status: Reviewed & tested by the community » Fixed

Already fixed in 2852f18a543328ec47e27d6f4ea59ef879153218.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.