[TYPO3-mvc] View not found

Raymund Tump raymund.tump at gmx.de
Wed Jan 26 14:12:00 CET 2011


Hey,

> What do you mean by "non existing config"? Was there a reference to a
> not existing action?

So in the beginning the flexform said

<switchableControllerActions>
         <TCEforms>
          <label>Gewünschte Übersicht</label>
          <config>
          <type>select</type>
          <items>
            <numIndex index="0">
               <numIndex index="0">Projekt</numIndex>
               <numIndex
            index="1">Project->list;Project->exportProjectList;Customer->list</numIndex>
            </numIndex>
<snip>...</snip>
            </items>
          </config>
         </TCEforms>
      </switchableControllerActions>

I changed that to

<numIndex index="1">Project->listProjects;Customer->listCustomers</num>

After clearing all caches the backend shows ["Invalid configuration
Project->list;Customer->list"] in the drop down.

I then navigate to the page in question on the front end and the page
was shown correctly. After I tried to export the shown list, I got the
view not found error.

> In that case you should have gotten a
> "Tx_Extbase_MVC_Exception_NoSuchAction" exception or you get
> redirected to the default action for your plugin.

I think that's my current problem. Can I set the behaviour here, so
that I get the exception?

> If that didn't happen the action name still might have existed in
> your controller?

The error only happened on calling another action and both existed.

-- 
Regards
Raymund


More information about the TYPO3-project-typo3v4mvc mailing list