Chyba: Nette\InvalidArgumentException missing argument
Upozornění: Tohle vlákno je hodně staré a informace nemusí být platné pro současné Nette.

- steelbull
 - Člen | 244
 
Po predchadzajucich diskusiach upravujem formulare a po pridani tovarnicky do configu vypisuje chybu:
Nette\InvalidArgumentException missing argument
Config:
    - implement: ILrAssignWuFormFactory
    parameters: [id]
    arguments: [%id%]
Tovarnicka:
/**
 * Form interface
 */
interface ILrAssignWuFormFactory {
    /**
     * @return LrAssignWuFormFactory
     */
    function create($id);
}
…a konstruktor formulara:
    /**
     * Constructor
     *
     * @param int $id
     * @param \App\Presenters\Translator $translator
     */
    function __construct($id) {
        //$this->translator = $translator;
        $this->id = $id;
    }
Velmi pekne dakujem za pomoc.
Editoval steelbull (6. 11. 2014 19:17)

- David Matějka
 - Moderator | 6445
 
@Azathoth @castamir je to vyreseno, @steelbull zalozil duplicitni tema