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
Disassociating translations fails if we get a 404 when it's setup to delete remote documents. We should assume it has been successfully deleted remotely.
Proposed resolution
Convert 404 exceptions to 404 responses.
Remaining tasks
Fix + tests
User interface changes
None
API changes
Created schema for config properties that didn't have them.
API addition: Added LingotekInterface::deleteDocument($doc_id)
. It was not in the interface.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2822049-disassociating-2.patch | 20.82 KB | penyaskito |
#2 | 2822049-disassociating-2.only-tests.patch | 17.18 KB | penyaskito |
Comments
Comment #2
penyaskitoAdded patch + only tests patch.
Comment #7
penyaskitoTests passed and failed as expected.
Comment #8
penyaskitoCommitted 11155a6 and pushed to 8.x-1.x. Thanks!