Unable to delete translation of a node with multiple revisions in multilingual site

Created on 23 October 2020, about 4 years ago
Updated 4 February 2023, almost 2 years ago

Problem/Motivation

While content translation & content moderation is enabled, in some cases "Delete translation" feature is not working in node EDIT page of translated node. Mostly if a translated node contains multiple revisions, then delete translation is not deleting the node instead takes admin to dashboard after form submission.

But Delete button in dashboard drop-down & in Delete tab is working

Steps to reproduce

  • In a multilingual site, enable languages like PT, ES, etc. apart from default English
  • Enable content translation & content moderation for a content type
  • Lets assume your workflow have states like: Draft, Published & Archived state
  • Create default English content (Original node) with revision enabled
  • Set moderation state like Draft & Save
  • Add a translation with revision enabled. Set moderation state as Draft
  • Edit translated node and set moderation state as Published with revision enabled
  • Again edit and change state to increase number of revisions
  • Now edit translated node & click "Delete translation" button
  • Translation node won't get deleted. Instead redirects admin to dashboard page

Proposed resolution

Create a patch to address the issue

Remaining tasks

Patch creation

User interface changes

N/A

API changes

M/A

Data model changes

N/A

Release notes snippet

N/A

πŸ› Bug report
Status

Closed: duplicate

Version

9.5

Component
Content translationΒ  β†’

Last updated about 23 hours ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States sastha

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024