🇨🇳China @Eason Xu

Account created on 16 December 2021, over 2 years ago
  • Programmer at CI&T 
#

Recent comments

🇨🇳China Eason Xu

Because this code marks the keyword as replaced, subsequent identical content is not replaced.

🇨🇳China Eason Xu

Currently we have the same problem again

🇨🇳China Eason Xu

Dear Pol,

Don't worry about this, it's just because I still encounter this problem in the version I am using, and there is no need to open a new issue .

🇨🇳China Eason Xu

1: Upload an image in media.
2: Reference this image in a paragraph.
3: Reference this paragraph to a node.
4: Access the usage list of image.
Result: Report an error. InvalidArgumentException: Invalid translation language (en) specified. in Drupal\Core\Entity\ContentEntityBase->getTranslation() (line 874 of /mnt/www/html/terumo01live/docroot/core/lib/Drupal/Core/Entity/ContentEntityBase.php).
This patch helped me solve this error.

🇨🇳China Eason Xu

Create an ES menu: test-ES
Translate this menu into PT language: test-PT
Enter the /admin/structure/menu/manage/main page
Delete menu: test-PT
Report an error: InvalidArgumentException: The entity object refers to a removed translation (pt-br) and cannot be manipulated. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 576 of core/lib/Drupal/Core/Entity/ContentEntityBase.php).

🇨🇳China Eason Xu

Sorry, there is something wrong with this patch. It does not take into account the use of the == symbol in the judgment, and 0 and false will be recognized as equal. I have uploaded a new patch.

🇨🇳China Eason Xu

Just like my example, when I upload a picture in CKeditor and select wide, when I go through this function, I will lose /image/2023-08/5.png.

🇨🇳China Eason Xu

Fixed warning: Undefined array key 0,Warning: Undefined array key 0 in Drupal\ckeditor_templates\Plugin\CkeditorTemplate\ConfigTemplate->getThumb()

🇨🇳China Eason Xu

Warning: Undefined array key 0 in Drupal\ckeditor_templates\Plugin\CkeditorTemplate\ConfigTemplate->getThumb()

🇨🇳China Eason Xu

Fix issue about Warning : Undefined array key "path" in Drupal\rel_to_abs\Plugin\Filter\RelToAbs->absoluteUrl() ( 62 in

🇨🇳China Eason Xu

I changed the code a bit so that it can support the format of input domain/url. like: www.example.com/example

🇨🇳China Eason Xu

I changed the code a bit so that it can support the format of input domain/url. like: www.example.com/example

Production build 0.69.0 2024