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

[BUGFIX] The function errorAction() needs to exists in NewTenantController #1091

Merged
merged 6 commits into from
Nov 21, 2023
13 changes: 13 additions & 0 deletions Classes/Controller/Backend/NewTenantController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
use Kitodo\Dlf\Domain\Repository\MetadataRepository;
use Kitodo\Dlf\Domain\Repository\StructureRepository;
use Kitodo\Dlf\Domain\Repository\SolrCoreRepository;
use Psr\Http\Message\ResponseInterface;
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Backend\View\BackendTemplateView;
use TYPO3\CMS\Core\Localization\LocalizationFactory;
Expand Down Expand Up @@ -436,6 +437,18 @@ public function indexAction(): void
$this->view->assign('recordInfos', $recordInfos);
}

/**
* Error function - there is nothing to do at the moment.
*
* @access public
*
* @return ResponseInterface
*/
public function errorAction(): ResponseInterface
{
return parent::errorAction();
}

/**
* Get language label for given key and language.
*
Expand Down