Skip to content

Marker changes if editor does not have rights for "auto_marker" in BE #1385

Description

@twestner

Perhaps this is only an edge case, but changing field names can lead to awkward situations.

The "marker" field cannot be hidden via permissions in the BE, but "auto_marker" can.

Our case:

  • A user creates a form. The marker values are automatically filled in when the fields are created.
  • Our editor edits the form. He does NOT have the permissions for the marker_auto field and therefore doesn't see it.
    => After saving the form the marker has been regenerated. The previous value has changed. However, an initially set marker should never change (except via the checkbox for manual editing, of course)!

Solution: If the marker field is not submitted with form data, the old value should be kept (if it has been filled).

Patch attached. Tested with TYPO3 v13.4 and powermail v13.1.0

preserve-existing-marker.patch

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