Support from Acquia helps fund testing for Drupal Acquia logo

Comments

IshaDakota’s picture

Status: Needs work » Needs review
FileSize
19.61 KB

Replacing all check_plain() with String::check_plain().

IshaDakota’s picture

First patch left out views_ui (and a few others).

The last submitted patch, 1: drupal-check-plain-views-2187829-1.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 2: drupal-check-plain-views-2187829-2-1.patch, failed testing.

longwave’s picture

Status: Needs work » Needs review
FileSize
33.06 KB

Status: Needs review » Needs work

The last submitted patch, 5: 2187829-views-check-plain-5.patch, failed testing.

longwave’s picture

Status: Needs work » Needs review
FileSize
33.09 KB
1.03 KB

Status: Needs review » Needs work

The last submitted patch, 7: 2187829-views-check-plain-7.patch, failed testing.

longwave’s picture

The last submitted patch, 7: 2187829-views-check-plain-7.patch, failed testing.

longwave’s picture

The last submitted patch, 7: 2187829-views-check-plain-7.patch, failed testing.

richard.c.allen2386’s picture

Status: Needs work » Needs review
FileSize
33.29 KB

Tried re-rolling the patch, new to the issue so no idea if this is going to fix the issue but it applies cleanly to current dev and install.php is running fine.

Status: Needs review » Needs work

The last submitted patch, 13: 2187829-views-check-plain-13.patch, failed testing.

longwave’s picture

Status: Needs work » Needs review
FileSize
33.96 KB
5.86 KB

Similarly the installation worked fine for me in the UI, but I managed to reproduce the failure with drush.

The problem is a clash between the Views classes named "String" and the import of \Drupal\Component\Utility\String via use statements. See the interdiff for details.

Status: Needs review » Needs work

The last submitted patch, 15: 2187829-views-check-plain-15.patch, failed testing.

longwave’s picture

Status: Needs work » Needs review
FileSize
34.18 KB
ianthomas_uk’s picture

Status: Needs review » Needs work

Good catch, but it should be UtilityString according to the coding standards (https://drupal.org/node/1353118 class aliasing section). Other than that the patch looks good.

longwave’s picture

Status: Needs work » Needs review
FileSize
34.18 KB
7.06 KB

StringUtility is much more readable and makes more sense to me, but coding standards are coding standards.

Status: Needs review » Needs work

The last submitted patch, 19: 2187829-views-check-plain-19.patch, failed testing.

longwave’s picture

longwave’s picture

Status: Needs work » Needs review
ianthomas_uk’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
34.17 KB

The patch looks good now. It needed a really minor reroll because some of the context changed in ViewsUIController, but hopefully it's still OK to mark as RTBC.

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

Status: Fixed » Closed (fixed)

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