DoSomething/legacy-website

Upgrade ctools contrib module from 1.8 to 1.12

Closed this issue · 0 comments

mirie commented

FEATURE OVERVIEW

User Story

We are many versions behind the recommended version of the ctools contrib module.

Additional Information (optional)

We are currently on version 7.x-1.8. The latest recommend version is : 1.12

The following lists the newer versions/release notes:

7.x-1.9:
Maintenance and Security release. (Release notes)
Follow up release to ctools 1.8. This includes some additional features, not bug fixes.

7.x-1.10:
Maintenance and Security release. (Release notes)

This is mainly a bugfix and minor features release for ctools 7.x based on work from https://www.drupal.org/node/2554339

One of the major improvements with this release is support for PHP7.

7.x-1.11:
Maintenance and Security release. (Release notes)

This is mainly a bugfix and minor features release for ctools 7.x.

7.x-1.12:
Maintenance and Security release. (Release notes)

This is a bugfix release for ctools 7.x. No user-end features are in this release. The next release, will contain features and bug fixes.

The only feature added is test coverage on drupal.org, all other items are bug fixes.

Why This Matters

We should keep Drupal contrib modules up to date. There were also a number of warnings generated on deploys that looked like:

PHP Deprecated:  Methods with the same name as their class will not be constructors in a future 
version of PHP; ctools_context_optional has a deprecated constructor in 
/var/www/staging.beta.dosomething.org/releases/20170615194609/html/profiles/dosomething/modules/contrib/ctools/includes/context.inc on line 205