Skip to content

Problem changing the powermailCleaner settings in flexform on content elements in connected language mode #22

Description

@sypets

Thank you for providing these extensions. I am generally very happy with powermail and powermail_cleaner. 👍

I have 2 connected powermail plugin content elements which were created a while ago:

  1. uid=473754 default language
  2. uid=473754, l18n_parent=473754 (connected mode)

I changed the setting for the element in default language in

"Data protectedion / Clean-up" :

before:
"Data is not stored in database"

after:
"Data will be cleaned after the specified deletion period"
"Clean-up period in days:" : 1

It was already a bit weird that the Flexform showed "Delete in 14 days" but the behaviour was "Do not save".

Now, I can't change it in the translated element in connected mode:

Image

But the settings are missing in the flexform (if I look in tt_content.pi_flexform).

Also, in the FE I get the following information on the page with default lang, but not on translated page:

Image

Update:

I think I can work-around this by removing the connection (l18n_parent), setting the deletion period in element with connected mode and then setting the language connection again. (that is not how it is supposed to work, in connected flexform the fields are not displayed, instead there is a different setting e.g. settings.flexform.powermailCleaner.deletionBehavior_l10n which is readonly and where the values of the original lang is displayed. It is correct that the fields are not saved to the flexform, it is not correct, that in the translated page the fields of the original lang are not used!

see https://github.com/in2code-de/powermail_cleaner/blob/typo3_13/Configuration/FlexForms/PowermailCleaner.xml

Versions

  • TYPO3 v13.4.24
  • powermail: 13.0.4
  • powermail_cleaner: 13.0.1

Additional info

default lang pi_flexform has this part, pi_flexform of translated content element does not:

 <sheet index="powermailCleaner">
            <language index="lDEF">
                <field index="settings.flexform.powermailCleaner.deletionBehavior">
                    <value index="vDEF">deletionPeriod</value>
                </field>
                <field index="settings.flexform.powermailCleaner.deletionPeriod">
                    <value index="vDEF">1</value>
                </field>
                <field index="settings.flexform.powermailCleaner.informReceiversBeforeDeletion">
                    <value index="vDEF">0</value>
                </field>
                <field index="settings.flexform.powermailCleaner.deletionContact">
                    <value index="vDEF"></value>
                </field>
                <field index="settings.flexform.powermailCleaner.deletionDetails">
                    <value index="vDEF"></value>
                </field>
            </language>
        </sheet>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions