php - The call to other actions does not work correctly with TYPO3 Extbase -


i have contoller calls socialprofile 1 action profile of twitter, facebook or google+ , save socialprofile object, each one. end of action calls edit action objective of end user add groups of categories (not typo3 category), problem second action not work correctly.

i have been using instruction calls editaction @ end of createaction

$this->redirect('edit', null, null, array('profileid' => "{$profileid}"),11); 

now editaction

public function editaction( $socialprofile = null)     {         $arguments = $this->request->getarguments();         var_dump($arguments);         $groups = enum\gruposcontenidos::categorygrouplist();         $this->view->assign('categorygroups', $groups);         $this->view->assign('socialprofile', $socialprofile);     } 

the error next

required argument "socialprofile" not set vendor\extension\controller\socialprofilecontroller->edit. exception code:1298012500

i have identicated in url editaction method runs not show var_dump. follow error code in typo3 (https://wiki.typo3.org/exception/flow/1298012500) , have tried many changes not work.

what correct way call type of actions or possible use redirect sending parameters?

the editaction works when called action list through fluid , lets change category values.

it beeing develop in typo3 7.6 , php 5.6.

have tried $this->redirect('edit', null, null, array('socialprofile' => $socialprofile),11); , pass whole socialprofile object rather id? generally, need match 2 names.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -