Apen / additional_reports

Useful information in the reports module : xclass, ajax, cliKeys, eID, general status of the system (encoding, DB, php vars...), hooks, compare local and TER extension (diff), used content type, used plugins, ExtDirect... It can really help you during migration or new existing project (to have a global reports of the system).
Other
12 stars 11 forks source link

XCLASS view throws exception #6

Closed websi closed 6 years ago

websi commented 7 years ago

The XCLASS view throws an exception, if any XCLASS exist.

Error Message:


Uncaught TYPO3 Exception
#1476107295: PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/EscapingNode.php line 44 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file typo3_src/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 112.

Quick fix at file Resources/Private/Templates/xclass-fluid.html:

            <tbody>
            <f:for each="{xclass.objects}" as="path" key="name">
                <tr>
-                   <td>{path}</td>
+                  <td>{path.className}</td>
                    <td>{name}</td>
                </tr>
            </f:for>
Apen commented 6 years ago

Sorry for the big delay, fixed.