Project

General

Profile

Actions

Bug #76823

closed

EXT:form - checkboxes are missing in html mails

Added by André Spindler over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2016-06-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,

Form by default is in mode "Compatibility", not "Default".
In this mode checked checkboxes are not printed in the html email.
The tr is there, but neither label nor value.

Reason: The template (/typo3/sysext/form/Resources/Private/Partials/Compatibility/PostProcessor/Mail/Html/FlatElements/Checkbox.html) just contains the condition and the wrap (for the tr), but nothing printable.

TYPO3 is 7.6.9.


Files

checkbox.patch (514 Bytes) checkbox.patch André Spindler, 2016-06-28 15:24

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #76866: EXT:form - Handle checkbox and radio correctly in confirmation and postProcessorClosedGianluigi Martino2016-06-29

Actions
Blocked by TYPO3 Core - Bug #77344: EXT:form - global layout for confirmation view colides with confirmation = 1ClosedRalf Zimmermann2016-08-02

Actions
Actions #1

Updated by André Spindler over 8 years ago

Patch file attached.
Includes the Label of the checkbox for compatibility mode to have the same behaviour as for default mode (instead of printing the value).

Actions #2

Updated by Björn Jacob over 8 years ago

  • Status changed from New to Closed
Actions #3

Updated by Björn Jacob over 8 years ago

  • Status changed from Closed to New

I was wrong. This patch is only valid for v7. In v8 we've removed the compat layer.

Actions #4

Updated by Björn Jacob over 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Björn Jacob
  • Sprint Focus set to On Location Sprint
Actions #5

Updated by Björn Jacob over 8 years ago

  • Status changed from In Progress to Needs Feedback
  • Assignee changed from Björn Jacob to André Spindler
  • Target version deleted (next-patchlevel)
  • Sprint Focus deleted (On Location Sprint)

After some other patches and further investigation I think we do not have to do anything here. We have tested the rendering of CHECKBOX and RADIO elements. It works as expected and behaves like v6.2. In 6.2 only the label was added to mail template. This works in 7.6 as well. Did you do any customization of the templates? Can you please add your configuration to this issue?

Since the compatibility mode has been removed in v8 we do not want to change the behaviour of v7 in comparison to v6. If you want a better/ predictable and styleable solution, switch to the new mode which uses the default templates and not the one from compatibility.

Actions #6

Updated by Riccardo De Contardi about 8 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (André Spindler)

Closed after feedback from the reporter.

Actions

Also available in: Atom PDF