Comments

Sonal.Sangale created an issue. See original summary.

Sonal.Sangale’s picture

Assigned: Unassigned » Sonal.Sangale
Sonal.Sangale’s picture

Assigned: Sonal.Sangale » Unassigned
Status: Active » Needs review
StatusFileSize
new16.29 KB

Status: Needs review » Needs work

The last submitted patch, 3: 2792077-3.patch, failed testing.

wim leers’s picture

Priority: Normal » Minor

Thanks! This looks like it should work just fine. Retesting, hopefully it was a testbot hiccup.

wim leers’s picture

Version: 8.1.x-dev » 8.3.x-dev
Issue tags: +php-novice, +Needs reroll

This will need to be done against 8.3 though.

The last submitted patch, 3: 2792077-3.patch, failed testing.

sugaroverflow’s picture

Issue tags: -Needs reroll

First time attempting a reroll.

I pulled 8.3 and was able to apply the patch.
There wasn't any output, so no reroll is needed? (reading off the reroll docs)

EDIT: I am a little confused if I'm doing this right... should I re-upload the patch to test against 8.3?

amit.drupal’s picture

StatusFileSize
new36.81 KB
new18.92 KB

t() in plugins with $this->t().

wim leers’s picture

@amit.drupal Now you did it for all modules, not just for ckeditor.module. Please revert that.

amit.drupal’s picture

StatusFileSize
new9.05 KB

Apologies, Attaching new patch

wim leers’s picture

Status: Needs work » Needs review

The last submitted patch, 9: 2792077-9.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 11: 2792077-11.patch, failed testing.

thpoul’s picture

Status: Needs work » Needs review
StatusFileSize
new22.61 KB
new6.59 KB

Status: Needs review » Needs work

The last submitted patch, 15: 2792077-15.patch, failed testing.

shruti1803’s picture

Status: Needs work » Needs review
StatusFileSize
new5.68 KB
new25.54 KB

Status: Needs review » Needs work

The last submitted patch, 17: 2792077-17.patch, failed testing.

shruti1803’s picture

sorry wrong patch applied.

thpoul’s picture

Status: Needs work » Needs review
StatusFileSize
new1.33 KB
new23.6 KB

WebTestBase does not include StringTranslationTrait. I added that in order to make tests extending the WebTestBase able to use $this->t(). Also DrupalImageCaption was using Drupal\Component\Plugin\PluginBase instead of Drupal\Core\Plugin\PluginBase.

Let's see what the testbot has to say about it :)

wim leers’s picture

Status: Needs review » Needs work
--- a/core/modules/simpletest/src/WebTestBase.php
+++ b/core/modules/simpletest/src/WebTestBase.php

Let's not modify WebTestBase.

--- a/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php
+++ b/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php
…
--- a/core/modules/ckeditor/src/Tests/CKEditorStylesComboAdminTest.php
+++ b/core/modules/ckeditor/src/Tests/CKEditorStylesComboAdminTest.php
…
--- a/core/modules/ckeditor/src/Tests/CKEditorToolbarButtonTest.php
+++ b/core/modules/ckeditor/src/Tests/CKEditorToolbarButtonTest.php
…

These changes should be reverted. We should only modify actual code, not tests.

Tests can continue to use t().

Sorry for not noticing sooner!

thpoul’s picture

Status: Needs work » Needs review
StatusFileSize
new6.62 KB
new16.98 KB

Here it is :)

wim leers’s picture

Status: Needs review » Reviewed & tested by the community

Thanks!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 6a83671 and pushed to 8.3.x. Thanks!

  • alexpott committed 6a83671 on 8.3.x
    Issue #2792077 by thpoul, amit.drupal, shruti1803, Sonal.Sangale, Wim...

Status: Fixed » Closed (fixed)

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

amit.drupal’s picture