-
- Downloads
Issue #2810355 by joseph.olstad, Leksat, ravi.shankar, Berdir, jungle,...
Issue #2810355 by joseph.olstad, Leksat, ravi.shankar, Berdir, jungle, suranga.gamage, adityasingh, benjifisher, Jelle_S, alexpott, Wim Leers, xjm, smustgrave, catch, hchonov, star-szr, webchick, wluisi, dawehner, daffie, cilefen: $entity->isDefaultTranslation() behaves incorrectly when changing default translation, causing file/image field usage to be set to zero, causing files to be deleted
Showing
- core/lib/Drupal/Core/Entity/ContentEntityBase.php 30 additions, 0 deletionscore/lib/Drupal/Core/Entity/ContentEntityBase.php
- core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php 14 additions, 0 deletionscore/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
- core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php 36 additions, 0 deletions.../file/tests/src/Functional/FileOnTranslatedEntityTest.php
- core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php 1 addition, 1 deletion...Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
Loading