Bulk edit of entity translation only modifies original language

Created on 8 June 2020, over 4 years ago
Updated 11 May 2023, over 1 year ago

We have a view that shows commerce products translated in a specified language. This allows the user to edit transport costs for all product in a domain for example.

The problem
The entities are shown in the correct language when choosing which fields to modify on 'views-bulk-operations/configure/products_by_language/page_1'. But the modification is done to the original language.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

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.

  • πŸ‡©πŸ‡ͺGermany markdc Hamburg

    #7 solved an issue I just ran into.

    1. Set up a node with a boolean that is translateable
    2. Add a bulk_edit form that shows that boolean
    3. As user 1: bulk edit that field in a translated language > works as expected
    4. As authenticated user: the action appears, task runs with a success message, but the fields are not modified (also not the original language as mentioned by the OP)

    I checked all permissions. My user can edit the field on a normal node edit form. But after applying the patch, the action works.

  • πŸ‡©πŸ‡ͺGermany markdc Hamburg

    KuroiRoy wrote in the issue summary that…

    …the modification is done to the original language.

    For the sake of clarity, is the modification applied to the site default language or the content's source language? It appears to be the latter.

    • We have English as our site's default language
    • Article nodes have a default/source lanaguage of German
    • Articles are translated into English and French
    • When first applying the (unpatched) bulk action to French, it was the English translations that received the modification.

    If someone can confirm this and update the issue description, then other users having this issue might find their way here. I only discovered this was the right place based on a hunch. =]

  • πŸ‡ͺπŸ‡ΈSpain escuriola

    Works for me. Thanks!

  • Status changed to RTBC over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States kurttrowbridge

    #7 is working for me as well. Marking as RTBC. Thanks!

  • Status changed to Fixed over 1 year ago
  • πŸ‡΅πŸ‡±Poland Graber

    Thanks all!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024