Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BE Module RequiredArgumentMissingException when paginating #535

Closed
sypets opened this issue Mar 28, 2021 · 0 comments · Fixed by #544
Closed

BE Module RequiredArgumentMissingException when paginating #535

sypets opened this issue Mar 28, 2021 · 0 comments · Fixed by #544

Comments

@sypets
Copy link
Contributor

sypets commented Mar 28, 2021

This exception occurs if you change an option in the form and then directly paginate. If you load the page again and paginate, it is ok. But if you change another option and paginate, you get it again.

  1. Open BE module
  2. Change a setting, e.g. ASC to DESC and press "save"
  3. Now paginate to next page >>.
#1298012500 TYPO3\CMS\Extbase\Mvc\Controller\Exception\RequiredArgumentMissingException
Required argument "options" is not set for HDNET\Calendarize\Controller\BackendController->option.

in /var/www/typo3neu.uni-oldenburg.de/htdocs/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php line 964
            $argumentName = $argument->getName();
            if ($this->request->hasArgument($argumentName)) {
                $argument->setValue($this->request->getArgument($argumentName));
            } elseif ($argument->isRequired()) {
                throw new RequiredArgumentMissingException('Required argument "' . $argumentName . '" is not set for ' . $this->request->getControllerObjectName() . '->' . $this->request->getControllerActionName() . '.', 1298012500);
            }
        }
    }
}

System

  • calendarize 9.0.0
  • TYPO3 10.4.14 (with Composer)
okmiim added a commit to okmiim/calendarize that referenced this issue Apr 17, 2021
Instead of using the be.widget.paginate, the new pagination API is used.
Additionally the option action is part of the list actions.

Related lochmueller#542
Fixes lochmueller#535
okmiim added a commit to okmiim/calendarize that referenced this issue Apr 17, 2021
Instead of using the be.widget.paginate, the events are now paginated
with the new pagination API.
Additionally the option action is now part of the list action.

Related lochmueller#542
Fixes lochmueller#535
okmiim added a commit to okmiim/calendarize that referenced this issue Apr 17, 2021
Instead of using the be.widget.paginate, the events are now paginated
with the new pagination API.
Additionally the option action is now part of the list action.

Related lochmueller#542
Fixes lochmueller#535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant