Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ebeyrent’s picture

FileSize
5.12 KB
ebeyrent’s picture

FileSize
6.77 KB
ebeyrent’s picture

Status: Active » Needs review
ebeyrent’s picture

FileSize
5.64 KB

Status: Needs review » Needs work

The last submitted patch, 2003058-4.patch, failed testing.

ddrozdik’s picture

Assigned: ebeyrent » ddrozdik
Status: Needs work » Needs review
Issue tags: +CodeSprintUA
FileSize
5.44 KB

Status: Needs review » Needs work
Issue tags: -CodeSprintUA

The last submitted patch, 2003058-replace-drupal_container-block-module.patch, failed testing.

ddrozdik’s picture

hm, I will try to find problem and will fix it.

ddrozdik’s picture

Status: Needs work » Needs review
FileSize
13.02 KB

Status: Needs review » Needs work

The last submitted patch, 2003058-replace-drupal_container-block-module.patch, failed testing.

littleindian’s picture

Assigned: ddrozdik » littleindian
Status: Needs work » Needs review
FileSize
6.24 KB

Hi,

I have submitted patch of respective issue.

Status: Needs review » Needs work

The last submitted patch, replace-drupal_container-block-module_2003058-11.patch, failed testing.

littleindian’s picture

Status: Needs work » Needs review
FileSize
4.18 KB

Hi,

Please ignore above patch in #11 comment
Check this one.

Status: Needs review » Needs work

The last submitted patch, replace-drupal_container-block-module_2003058-12.patch, failed testing.

littleindian’s picture

Apology. I created patch in wrong way.
Now please review.

littleindian’s picture

Status: Needs work » Needs review
FileSize
4.18 KB

Need review.

Status: Needs review » Needs work

The last submitted patch, replace-drupal_container-block-module_2003058-14.patch, failed testing.

ddrozdik’s picture

@ashwinikumar, please use Drupal::request(); instead Drupal::service()->get('request');

littleindian’s picture

Status: Needs work » Needs review
FileSize
4.16 KB

Updated. Need review

Status: Needs review » Needs work

The last submitted patch, replace-drupal_container-block-module_2003058-15.patch, failed testing.

littleindian’s picture

Status: Needs work » Active

@DmitryDrozdik I used Drupal::request(); instead Drupal::service()->get('request');
It's only at one place in block module But still test got failed.
Not sure where my patch is lacking.
Need direction.

ddrozdik’s picture

Status: Active » Needs work
-       $path_alias = drupal_strtolower(drupal_container()->get('path.alias_manager')->getPathAlias($path));
+       $path_alias = drupal_strtolower(Drupal::service()->get('path.alias_manager')->getPathAlias($path));

This is incorrect way to use, please use Drupal::service('path.alias_manager') for example above, and for all other places.

ddrozdik’s picture

Issue summary: View changes

Updated issue summary.

ddrozdik’s picture

Assigned: littleindian » ddrozdik
Status: Needs work » Needs review
FileSize
3.46 KB

Status: Needs review » Needs work
Issue tags: -WSSCI Conversion

The last submitted patch, 2003058-replace-drupal_container-block-module_23.patch, failed testing.

ddrozdik’s picture

Status: Needs work » Needs review
Issue tags: +WSSCI Conversion
alvar0hurtad0’s picture

Status: Needs review » Fixed

It applyes OK

Berdir’s picture

Status: Fixed » Needs review

That doesn't mean it's fixed. It needs to get RTBC'd and committed first.

alvar0hurtad0’s picture

Ok, I'm sorry.

I take note for next times.

Than you very much.

benjy’s picture

+++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Plugin/Block/CustomBlockBlock.phpundefined
@@ -61,8 +61,8 @@ public function blockForm($form, &$form_state) {
+      \Drupal::service('plugin.manager.block')->clearCachedDefinitions();

We shouldn't be using \Drupal::service() in OO code, it needs injecting.

benjy’s picture

Re-roll and a new version with dependencies injected. We're also updating module_exists here, not sure we should be doing it in this patch but I added it anyway.

benjy’s picture

chx’s picture

Assigned: benjy » tim.plunkett

Assigning for review.

tim.plunkett’s picture

  1. @@ -8,13 +8,46 @@
    +    $this->aliasManager= $alias_manager;
    

    Missing a space

  2. @@ -64,7 +97,7 @@ protected function checkAccess(EntityInterface $entity, $operation, $langcode, A
    +        $path_alias = drupal_strtolower($this->aliasManager->getPathAlias($path));
    

    Unicode::strtolower

benjy’s picture

Both issues in #33 fixed. Should drupal_strtolower() be marked as deprecated if we're not using it anymore?

tim.plunkett’s picture

Assigned: tim.plunkett » Unassigned
Status: Needs review » Reviewed & tested by the community
Issue tags: -WSSCI Conversion +WSCCI-conversion

I guess it should.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 58d8e35 and pushed to 8.x. Thanks!

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

Anonymous’s picture

Issue summary: View changes

update description