Sorry, please ignore 2363459-drupal-10-3-3.patch, there is a little error, it has been fixed
I updated the patch version to apply to core 10.3.3.
Eason Xu → created an issue.
Because this code marks the keyword as replaced, subsequent identical content is not replaced.
Eason Xu → created an issue.
Currently we have the same problem again
Version 8.x-1.10
This problem still exists. Is there a solution or any new views on this?
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 .
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.
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).
Eason Xu → created an issue.
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.
Eason Xu → created an issue.
Eason Xu → created an issue.
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.
Fixed warning: Undefined array key 0,Warning: Undefined array key 0 in Drupal\ckeditor_templates\Plugin\CkeditorTemplate\ConfigTemplate->getThumb()
Warning: Undefined array key 0 in Drupal\ckeditor_templates\Plugin\CkeditorTemplate\ConfigTemplate->getThumb()
Eason Xu → created an issue.
Eason Xu → created an issue.
Fix issue about Warning : Undefined array key "path" in Drupal\rel_to_abs\Plugin\Filter\RelToAbs->absoluteUrl() ( 62 in
This patch can support the above problems.
I have integrated the two patches.
I changed the code a bit so that it can support the format of input domain/url. like: www.example.com/example
I changed the code a bit so that it can support the format of input domain/url. like: www.example.com/example