typo3 - Validation failed while trying to call showAction -


i using typo3 7.6.11 , getting following error when trying call showaction().

validation failed while trying call vendor\extension\controller\mycontroller->showaction().

i've checked validation in model , couldn't find issues.

is there way debug error , more information?

you can either debug validation results or display them in template.

debugging validation results

for debugging have in \typo3\cms\extbase\mvc\controller\actioncontroller controller extends. you'll find method callactionmethod() validation results processed.

displaying validation results

for displaying errors in fluid, use viewhelper <f:form.validationresults>:

<f:form.validationresults>   <f:if condition="{validationresults.flattenederrors}">     <ul class="errors">       <f:for each="{validationresults.flattenederrors}" as="errors" key="propertypath">         <li>{propertypath}           <ul>           <f:for each="{errors}" as="error">             <li>{error.code}: {error}</li>           </f:for>           </ul>         </li>       </f:for>     </ul>   </f:if> </f:form.validationresults> 

Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -