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

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

    XMLWordPrintable

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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew.longosz@ibexa.co Andrew 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