Allow removing translations in pending revisions

Created on 20 February 2018, almost 7 years ago
Updated 4 February 2023, almost 2 years ago

Problem/Motivation

In #2940890: Donโ€™t allow deleting revision translations in pending revisions โ†’ we prevented users from deleting translations in pending revisions, otherwise we would not be able to present a sensible UI, given that in the storage a translation removed in a pending revision is indistinguishable from a new translation added in a pending revision. This only a technical limitation, so we should address this issue properly now.

Proposed resolution

TBD

Remaining tasks

  • Propose a valid solution
  • Write a patch
  • Reviews

User interface changes

Translation deletion actions are available also in pending revisions.

API changes

None

Data model changes

TBD

๐Ÿ“Œ Task
Status

Needs work

Version

10.1 โœจ

Component
Content translationย  โ†’

Last updated about 16 hours ago

No maintainer
Created by

๐Ÿ‡ฎ๐Ÿ‡นItaly plach Venezia

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.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Closed ๐Ÿ› Unable to delete translation of a node with multiple revisions in multilingual site Closed: duplicate as a duplicate and moved over credit.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Briefly looking at failure in #15 believe it could use a Url object as drupal.org makes it run in subdirectory which may mess up paths.

  • ๐Ÿ‡ณ๐Ÿ‡ฑNetherlands wilfred waltman

    A reroll of #15 for Drupal 10.2

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia anchal_gupta

    I have tried patch from #22 on 11.x but not applied and not unable to reproduce this issue in my local. please share process to reproduce the issue.
    If i am doing something wrong do let me know the steps or explain the issue with more detail so i can replicate it correctly.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia anchal_gupta

    I verified the issue, unable to replicate. Below are the steps followed to replicate the issue.
    Scenario 1: Enable Content Translation Module.
    Step1: Configure the setting for content language settings for content.
    Step2: Create node and add some data and save.
    Step3: Then create node in other translated language and save without publised the node.
    Step4: And Then add some modification on translated node and save.
    Step5 Then check the revision not have the pending revision option to deletion action only showing single row with current revision.
    Attached screenshot as per the reference (Screenshot 2024-09-25 at 11.59.32โ€ฏAM.png).

    Scenario 2: Enable workflow module.
    Step1: Configure the module settings for content.
    Step2: Create node and add some data and save.
    Step3: Then create node in other translated language and save with draft mode.
    Step4: And Then add some modification on translated node with published mode.
    Step5: And Then add some modification on translated node with Draft mode.
    Step5 Then check the lastest node modification revision have the delete action.
    Attached Screenshot as per Reference (Screenshot 2024-09-25 at 12.11.08โ€ฏPM.png )

    Scenario 3: I have tried patch from #22 on 11.x but not applied then I applied the patch manually but not changes has been shown.

    If i am doing something wrong do let me know the steps or explain the issue with more detail so i can replicate it correctly.

Production build 0.71.5 2024