Per issue #2034879: [Meta] Fix documentation that refers to enabling/disabling of modules, this issue is for fixing the enable/disable to install/uninstall language in the REST module

Files: 
CommentFileSizeAuthor
#31 fixing_enable_to_install-2318753-31.patch8.43 KBDevin Carlson
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 81,196 pass(es).
[ View ]
#28 fixing_enable_to_install-2318753-28.patch8.7 KBamitgoyal
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch fixing_enable_to_install-2318753-28.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Comments

greenhodge’s picture

Here we will be fixing the language in the rest_help function in rest.module from:

In order to use REST on a web site, you need to install and enable modules that provide
to
In order to use REST on a web site, you need to install modules that provide

greenhodge’s picture

StatusFileSize
new2.28 KB
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch fixing_enable_to_install-2318753-1.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]
greenhodge’s picture

Status:Active» Needs review
Les Lim’s picture

Issue summary:View changes
Les Lim’s picture

Status:Needs review» Needs work
+++ b/core/modules/rest/rest.module
@@ -35,7 +35,7 @@
       $output .= '<dt>' . t('Enabling supporting modules') . '</dt>';

"Enabling" should be "Installing" here.

Otherwise, this looks good!

greenhodge’s picture

Status:Needs work» Needs review
StatusFileSize
new3.09 KB
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch fixing_enable_to_install-2318753-5.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

New patch responding to Les Lim's thing he pointed out.

Les Lim’s picture

Status:Needs review» Reviewed & tested by the community

Looks RTBC to me.

Leaving as "critical" since the parent meta is critical.

Les Lim’s picture

Status:Reviewed & tested by the community» Needs review

Taking another look.

Les Lim’s picture

Status:Needs review» Needs work

Code comments throughout Rest module tests still refer to "Modules to enable."

Les Lim’s picture

Title:Fix text in REST module that refers to enabling a moduleFix documentation text in REST module that refers to enabling a module
greenhodge’s picture

StatusFileSize
new8.33 KB
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch fixing_enable_to_install-2318753-11.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

We believe we may have finally fixed them ALL.

greenhodge’s picture

Status:Needs work» Needs review
greenhodge’s picture

StatusFileSize
new8.33 KB
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch fixing_enable_to_install-2318753-12.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Attempting to fix the end-of-line unhappiness

Les Lim’s picture

+++ b/core/modules/rest/src/Plugin/Derivative/EntityDerivative.php
@@ -122,7 +122,7 @@
+                // of module installing/uninstalling, so we simply exclude this entity

Inline code comments should still wrap at 80 characters, including the spaces in the indent.

Les Lim’s picture

Status:Needs review» Needs work

The last submitted patch, 2: fixing_enable_to_install-2318753-1.patch, failed testing.

The last submitted patch, 2: fixing_enable_to_install-2318753-1.patch, failed testing.

The last submitted patch, 6: fixing_enable_to_install-2318753-5.patch, failed testing.

The last submitted patch, 6: fixing_enable_to_install-2318753-5.patch, failed testing.

The last submitted patch, 11: fixing_enable_to_install-2318753-11.patch, failed testing.

The last submitted patch, 11: fixing_enable_to_install-2318753-11.patch, failed testing.

The last submitted patch, 13: fixing_enable_to_install-2318753-12.patch, failed testing.

The last submitted patch, 13: fixing_enable_to_install-2318753-12.patch, failed testing.

xjm’s picture

Issue tags:+TCDrupal 2014
xjm’s picture

Issue tags:+Needs reroll

Looks like the patches don't apply to the 8.0.x branch tip, so this will need a reroll. Thanks all!

xjm’s picture

Priority:Critical» Normal

Let's actually make the child issues normal since these are very small patches and the critical meta will still make sure completing the task blocks release.

greenhodge’s picture

Title:Fix documentation text in REST module that refers to enabling a moduleREST Module: Fix documentation that refers to enabling/disabling of modules
amitgoyal’s picture

Status:Needs work» Needs review
Issue tags:-Needs reroll
StatusFileSize
new8.7 KB
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Unable to apply patch fixing_enable_to_install-2318753-28.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Reroll of #13 along with fixes in #14.

Status:Needs review» Needs work

The last submitted patch, 28: fixing_enable_to_install-2318753-28.patch, failed testing.

Devin Carlson’s picture

Status:Needs work» Needs review
StatusFileSize
new8.43 KB
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 81,196 pass(es).
[ View ]

Reroll of #28.

I also verified that it covers all of the instances of enable/disable.

effulgentsia’s picture

Status:Needs review» Reviewed & tested by the community

Looks good.

effulgentsia’s picture

Component:base system» rest.module
alexpott’s picture

Status:Reviewed & tested by the community» Fixed

This issue is a unfrozen change (documentation) as per https://www.drupal.org/core/beta-changes and it's benefits outweigh any disruption. Committed d3f5497 and pushed to 8.0.x. Thanks!

  • alexpott committed d3f5497 on 8.0.x
    Issue #2318753 by greenhodge, amitgoyal, Devin Carlson: REST Module: Fix...

Status:Fixed» Closed (fixed)

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