Actions
Bug #77471
closedTemplate module got wrong markup
Start date:
2016-08-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
After #75028 the template module regarding "info/update" is broken. If no template record is on the selected page, most text is not there because the translate VH got no extkey set and there is even a todo in the code
// @TODO: not sure this should stay; this value should in any case be a *proper* extension name! $view->getRequest()->setControllerExtensionName('web_ts');
If this is changed, the markup is even worse
<form action="/typo3/index.php?M=web_ts&moduleToken=3d1a0b2ae58280eb53ec26d26f5aed77ab4c7f3a&id=12&template=all" method="post" enctype="multipart/form-data" id="TypoScriptTemplateModuleController" name="editForm" class="form"> <h1>Template tools</h1> <form action="" method="post" enctype="multipart/form-data" id="TypoScriptTemplateModuleController" name="editForm" class="form"> <h1>Template tools</h1> <form action="" method="post" enctype="multipart/form-data" id="TypoScriptTemplateModuleController" name="editForm" class="form">
there are then 2 h1 tags and 3 inline form tags, so there is something really wrong
Actions