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
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:
=> 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