Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27949

[PAPI] ContentService::removeTranslation does not cleanup Field Type External Storage

    Details

      Description

      PHP API ContentService::removeTranslation, which removes Translation from all the Versions of a given Content, doesn't cleanup Field Type External Storage when performing this operation.

      Steps to reproduce:
      1. Create Content which has Field Types using Ext. Storage (e.g. ezkeyword)
      2. Translate it into another language, use different words to distinguish translation.
      3. Using ezplatform:remove-content-translation command (introduced some time ago, probably still in master) remove previously created Translation from the created Content.
      4. Observe that in database tables used by External Storage of FT (e.g. ezkeyword, ezkeyword_attribute_link) there are references to deleted fields (attributes).

        Activity

        Show
        Andrzej Longosz added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/2128
        Hide
        Michał Szołtysek added a comment -

        QA Approved.

        Show
        Michał Szołtysek added a comment - QA Approved.
        Hide
        Andrzej Longosz added a comment -

        Merged into 6.12@6672409 and up into master

        Show
        Andrzej Longosz added a comment - Merged into 6.12@6672409 and up into master

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrzej Longosz
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 1 hour
              1d 1h

                Agile