[TYPO3-core] #RFC: 14947: Missing closing div in db_new_content_el.php

Georg Ringer news at ringerge.org
Wed Jun 30 14:31:06 CEST 2010


Hi,

this is a SVN patch request.

Type: Bugfix, nobrainer, cleanup

Bugtracker references:
http://bugs.typo3.org/view.php?id=14947

Branches: Trunk, 4-4

Problem:
There is a missing end tag of a div in the file db_new_content_el.php
which results in (my installation) 7 errors + 1 warning. Fixing it leads
to 2 errors + 1 warning.

In line 248, there is the opening tag but it is nowhere closed
----
$this->content .= '<div id="user-setup-wrapper">';
----

Solution:
Set the </div> and to a little CGL

How to test:
Call the url
http://localhost/typo3/sysext/cms/layout/db_new_content_el.php?id=9999&colPos=0&sys_language_uid=0&uid_pid=9999

with a valid page ID instead of the 9999 and check the sourcecode by
using your eyes or http://validator.w3.org/check. Apply the patch and
check again.

Georg


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14947-validate-db_new_content_el.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100630/9d80d434/attachment.txt>


More information about the TYPO3-team-core mailing list