Support from Acquia helps fund testing for Drupal Acquia logo

Comments

InternetDevels’s picture

Status: Active » Needs review
FileSize
1.07 KB

Here is the patch.

andypost’s picture

Status: Needs review » Needs work
+++ b/core/modules/rdf/rdf.module
@@ -244,6 +244,7 @@ function rdf_preprocess_html(&$variables) {
+  $account = Drupal::request()->attributes->get('_account');

https://drupal.org/node/2032447 Drupal:currentUser()

rhm5000’s picture

Status: Needs work » Needs review
FileSize
637 bytes
andypost’s picture

Status: Needs review » Reviewed & tested by the community

great!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

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

bohart’s picture

Status: Closed (fixed) » Reviewed & tested by the community

Seems that last patch does not commit to core:
http://drupalcode.org/project/drupal.git/blame/HEAD:/core/modules/rdf/rd...

Also I cannot find a commit associated to current issue:
http://drupalcode.org/project/drupal.git?a=search&h=HEAD&st=commit&s=206...

Seems that we need to reopen this issue.

alexpott’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs reroll

Patch no longer applies.

wesleydv’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
FileSize
653 bytes

Reroll against head

andypost’s picture

+++ b/core/modules/rdf/rdf.module
@@ -333,7 +333,7 @@ function rdf_preprocess_node(&$variables) {
+      if ($variables['page'] && Drupal::currentUser()->hasPermission('access comments')) {

Should be \Drupal::

deimos’s picture

corrected

wesleydv’s picture

Status: Needs review » Reviewed & tested by the community

Looks OK to me.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

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