Issue Bug Closed

#77471Template module got wrong markup

Georg Ringer 08/10/16, 14:49 updated 10/17/17, 23:16

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&amp;moduleToken=3d1a0b2ae58280eb53ec26d26f5aed77ab4c7f3a&amp;id=12&amp;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

Reviews 1