Support from Acquia helps fund testing for Drupal Acquia logo

Comments

elvis2’s picture

Assigned: Unassigned » elvis2
elvis2’s picture

Status: Active » Needs review
FileSize
8.52 KB
valthebald’s picture

Status: Needs review » Needs work

Missing replacement of QueryPluginBase::add_signature in core/modules/views/lib/Drupal/views/Plugin/views/query/QueryPluginBase.php

oenie’s picture

+++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.phpundefined
@@ -290,7 +290,7 @@ public function submitOptionsForm(&$form, &$form_state) {
+  function addRelationship($alias, JoinPluginBase $join, $base, $link_point = NULL) {

Add public access modifier in front of the method to adher to the new OOP standards.

elvis2’s picture

Status: Needs work » Needs review
FileSize
8.53 KB

Added access modifier.

oenie’s picture

Status: Needs review » Reviewed & tested by the community

Looks fine by me now !

alexpott’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/field/NcsLastCommentName.phpundefined
@@ -40,7 +40,7 @@ public function query() {
-//    $this->user_table = $this->query->add_relationship(NULL, $join, 'users', $this->relationship);
+//    $this->user_table = $this->query->addRelationship(NULL, $join, 'users', $this->relationship);

+++ b/core/modules/comment/lib/Drupal/comment/Plugin/views/sort/NcsLastCommentName.phpundefined
@@ -33,7 +33,7 @@ public function query() {
-//    $this->user_table = $this->query->add_relationship(NULL, $join, 'users', $this->relationship);
+//    $this->user_table = $this->query->addRelationship(NULL, $join, 'users', $this->relationship);

I think we should be removing the commented out lines of code. That's why we have a SCM.

elvis2’s picture

Status: Needs work » Needs review
FileSize
103.56 KB

Re-rolled removing commented out lines and renamed add_relationship().

elvis2’s picture

Arggg, sorry about the last patch, I rolled it without "git rest --hard"...

Re-roll of #8.

Status: Needs review » Needs work
Issue tags: -Novice, -VDC

The last submitted patch, 2002274-9-rename-add_relationship.patch, failed testing.

star-szr’s picture

Status: Needs work » Needs review
Issue tags: +Novice, +VDC
aspilicious’s picture

Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 18e0327 and pushed to 8.x. Thanks!

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