cross-solution / YAWIK

YAWIK is a web application. It can be used as an ATS applicant tracking system or as a jobboard.
https://yawik.org
MIT License
125 stars 67 forks source link

Detail View of an order does not work. #438

Closed cbleek closed 7 years ago

cbleek commented 7 years ago

The Detail View get the following error

auswahl_999 551

Fatal Error

Call to a member function get() on null search?

Source file

File: .../module/Orders/src/Controller/ListController.php:61

51:
52:        public function viewAction()
53:        {
54:            $id = $this->params()->fromQuery('id');
55:
56:            if (!$id) {
57:                throw new \UnexpectedValueException('No order id given. Please provide the order id in the "id" parameter.');
58:            }
59:
60:            $services = $this->serviceLocator;
61:            $repositories = $services->get('repositories');
62:            $repository = $repositories->get('Orders');
63:            $order = $repository->find($id);
64:
65:            if (!$order) {
TiSiE commented 7 years ago

Fixed in yawik/Orders@998d8864dcc2fa2a5f26bd758f2b74815df1dfe2