Skip to content

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

@sypets

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

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.

But I noticed this problem before. It might be that the language behaviour was changed but not all flexforms were updated.

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions