Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The "Disassociate All Translations" utility in the settings page does not work properly (only node translations *are* disassociated).
This is due to a small issue in getAllLocalDocumentIds().
Also, this only applies to content. Configuration documents are not disassociated.
Proposed resolution
Add tests that any kind of entity and configuration is disassociated.
Remaining tasks
Ensure the patch fixes this for all content entities.
Ensure we can fix the same for configurations.
User interface changes
None.
API changes
None (expected).
Data model changes
None (expected)
Comment | File | Size | Author |
---|---|---|---|
#8 | 2783553-disassociate-all-translations-8.patch | 9.17 KB | penyaskito |
#8 | 2783553-disassociate-all-translations-8.only-tests.patch | 8.46 KB | penyaskito |
Comments
Comment #2
azinck CreditAttribution: azinck commentedComment #3
azinck CreditAttribution: azinck commentedComment #4
penyaskitoThanks for the patch!
This patch includes the previous fix + tests.
Also discovered that we are not disassociating configuration, only content.
Comment #8
penyaskitoAttaching patch that takes care of also disassociating the configuration translations.
Comment #12
penyaskitoTests passed and failed as expected.
Comment #14
penyaskitoCommitted 551c01b and pushed to 8.x-1.x. Thanks @azinck!