The patches linked on the project page are for old versions of D7. They do not apply cleanly to Drupal 7.20.

Some of the other patches in those two issues are for D8 and/or contain errors.

Please update the project page to indicate the best patches to apply to D7.20. Linking directly to the patch files would be convenient and less confusing.

Comments

danny englander’s picture

I'm also interested in this. The core patch message on the project page says:

When these core issues are resolved, 7.x-1.0 will be released.

... but I see that there is already a 7.x-1.0-beta1 release. Is this counted as a "1.0" release? If so perhaps the entire message should be modified and or deleted? I'm interested in using this module for a D7 project but it would be good to have some clarification before I move forward. Thanks.

DanZ’s picture

there is already a 7.x-1.0-beta1 release. Is this counted as a "1.0" release?

No. A beta is not a 1.0 release at all.

danny englander’s picture

Just an update, I tested out 7.x-1.0-beta1 of Secure Pages + Drupal 7.21 and it works as expected, did not need to do any core patches. I simply needed to put in $conf['https'] = TRUE; in settings.php so it would seem the D7 status message on the project page is out of date now.

greenwork’s picture

I am still getting the no active batch problem without the patches. I usually just manually update the modules at the current point to avoid patching the core. So the drupal update did not fix my problem.

DanZ’s picture

The patches have not been committed (last time I looked), so they are not in the dev version (or "current point", as you put it). So, you have to apply the patch. A Drupal update won't help you.

danny englander’s picture

@greenwe - Did you have a look at this issue?

#1627326: "No Active Batch" error

... the suggested fix there solved that error for me.

greenwork’s picture

So what post should I use from both the updates. Both the links on the main page point to patches that have failed the drupal testing. Infact most of them failed and are re rolled multiple times. Hard to determine what one to use.

I did obviously use the https true part as well as added the ignore pages you listed above.

DanZ’s picture

Adding to the confusion is the fact that some of the patches are for 8.x, and some are for 7.x. The auto-test for a 7.x patch will fail if the issue is currently set to 8.x...even if the patch is fine.

greenwork’s picture

So for 7x what patch to use for 8x what patch they are in the same thread so that is why they are failing the test?

DanZ’s picture

@greenwe, it is confusing.

As it currently stands, I'd use #159 for 7.x and #165 for 8.x. This is just based on reading those comments.

To figure this out, you have to look at the version number under which the patch was tested. So, for a 7.x patch, you set the Version number for the whole issue to 7.x then upload your patch. The patch will be applied to version 7.x of Drupal Core.

If it's under the wrong version number when you upload the patch or re-submit it for testing, the patch doesn't apply, and the test fails.

The Issue is normally supposed to be set for version 8.x. Dips down to 7.x are supposed to be temporary.

DanZ’s picture

Issue summary: View changes

Link directly to patch files.

webservant316’s picture

Issue summary: View changes

What patch is recommended for Drupal 7.26 nearly a year later?

astonvictor’s picture

Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks