po dłuższej chwili bezczynności w backendzie w trybie dev i odświeżeniu strony dostaję taki błąd:
Kod
500 | Internal Server Error | Doctrine_Record_UnknownPropertyException
Unknown record property / related component "all_permission_names" on "sfGuardUser"
stack trace
* at ()
in SF_ROOT_DIR\lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Record\Filter\Standard.php line 55 ...
52. */
53. public function filterGet(Doctrine_Record $record, $name)
54. {
55. throw new Doctrine_Record_UnknownPropertyException(sprintf('Unknown record property / related component "%s" on "%s"', $name, get_class($record)));
56. }
57. }
* at Doctrine_Record_Filter_Standard->filterGet(object('sfGuardUser'), 'all_permission_names')
in SF_ROOT_DIR\lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Record.php line 1382 ...
1379. $success = false;
1380. foreach ($this->_table->getFilters() as $filter) {
1381. try {
1382. $value = $filter->filterGet($this, $fieldName);
1383. $success = true;
1384. } catch (Doctrine_Exception $e) {}
1385. }
* at Doctrine_Record->_get('all_permission_names', 1)
in SF_ROOT_DIR\lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Record.php line 1337 ...
1334. return $this->$accessor($load);
1335. }
1336. }
1337. return $this->_get($fieldName, $load);
1338. }
1339.
1340. protected function _get($fieldName, $load = true)
* at Doctrine_Record->get('all_permission_names')
in n/a line n/a ...
* at call_user_func_array(array(object('sfGuardUser'), 'get'), array('all_permission_names'))
in SF_ROOT_DIR\lib\plugins\sfDoctrinePlugin\lib\record\sfDoctrineRecord.class.php line 186 ...
183. return call_user_func_array(
184. array($this, $verb),
185. array_merge(array($entityName), $arguments)
186. );
187. } else {
188. $failed = true;
189. }
* at sfDoctrineRecord->__call('getAllPermissionNames', array())
in n/a line n/a ...
* at sfGuardUser->getAllPermissionNames()
in SF_ROOT_DIR\plugins\sfDoctrineGuardPlugin\lib\user\sfGuardSecurityUser.class.php line 128 ...
125. $this->setAttribute('user_id', $user->getId(), 'sfGuardSecurityUser');
126. $this->setAuthenticated(true);
127. $this->clearCredentials();
128. $this->addCredentials($user->getAllPermissionNames());
129.
130. // save last login
131. $user->setLastLogin(date('Y-m-d H:i:s'));
* at sfGuardSecurityUser->signIn(object('sfGuardUser'))
in SF_ROOT_DIR\plugins\sfDoctrineGuardPlugin\lib\sfGuardRememberMeFilter.class.php line 52 ...
49.
50. if ($q->count())
51. {
52. $this->context->getUser()->signIn($q->fetchOne()->sfGuardUser);
53. }
54. }
55.
* at sfGuardRememberMeFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\filter\sfFilterChain.class.php line 53 ...
50. }
51.
52. // execute the next filter
53. $this->chain[$this->index]->execute($this);
54. }
55. }
56.
* at sfFilterChain->execute()
in SF_ROOT_DIR\lib\filter\sfRenderingFilter.class.php line 33 ...
30. public function execute($filterChain)
31. {
32. // execute next filter
33. $filterChain->execute();
34.
35. // get response object
36. $response = $this->context->getResponse();
* at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\filter\sfFilterChain.class.php line 53 ...
50. }
51.
52. // execute the next filter
53. $this->chain[$this->index]->execute($this);
54. }
55. }
56.
* at sfFilterChain->execute()
in SF_ROOT_DIR\lib\controller\sfController.class.php line 233 ...
230. }
231.
232. // process the filter chain
233. $filterChain->execute();
234. }
235. else
236. {
* at sfController->forward('categories', 'index')
in SF_ROOT_DIR\lib\controller\sfFrontWebController.class.php line 48 ...
45. }
46.
47. // make the first request
48. $this->forward($moduleName, $actionName);
49. }
50. catch (sfException $e)
51. {
* at sfFrontWebController->dispatch()
in SF_ROOT_DIR\lib\util\sfContext.class.php line 170 ...
167. */
168. public function dispatch()
169. {
170. $this->getController()->dispatch();
171. }
172.
173. /**
* at sfContext->dispatch()
in SF_ROOT_DIR\web\backend_dev.php line 13 ...
Unknown record property / related component "all_permission_names" on "sfGuardUser"
stack trace
* at ()
in SF_ROOT_DIR\lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Record\Filter\Standard.php line 55 ...
52. */
53. public function filterGet(Doctrine_Record $record, $name)
54. {
55. throw new Doctrine_Record_UnknownPropertyException(sprintf('Unknown record property / related component "%s" on "%s"', $name, get_class($record)));
56. }
57. }
* at Doctrine_Record_Filter_Standard->filterGet(object('sfGuardUser'), 'all_permission_names')
in SF_ROOT_DIR\lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Record.php line 1382 ...
1379. $success = false;
1380. foreach ($this->_table->getFilters() as $filter) {
1381. try {
1382. $value = $filter->filterGet($this, $fieldName);
1383. $success = true;
1384. } catch (Doctrine_Exception $e) {}
1385. }
* at Doctrine_Record->_get('all_permission_names', 1)
in SF_ROOT_DIR\lib\plugins\sfDoctrinePlugin\lib\vendor\doctrine\Doctrine\Record.php line 1337 ...
1334. return $this->$accessor($load);
1335. }
1336. }
1337. return $this->_get($fieldName, $load);
1338. }
1339.
1340. protected function _get($fieldName, $load = true)
* at Doctrine_Record->get('all_permission_names')
in n/a line n/a ...
* at call_user_func_array(array(object('sfGuardUser'), 'get'), array('all_permission_names'))
in SF_ROOT_DIR\lib\plugins\sfDoctrinePlugin\lib\record\sfDoctrineRecord.class.php line 186 ...
183. return call_user_func_array(
184. array($this, $verb),
185. array_merge(array($entityName), $arguments)
186. );
187. } else {
188. $failed = true;
189. }
* at sfDoctrineRecord->__call('getAllPermissionNames', array())
in n/a line n/a ...
* at sfGuardUser->getAllPermissionNames()
in SF_ROOT_DIR\plugins\sfDoctrineGuardPlugin\lib\user\sfGuardSecurityUser.class.php line 128 ...
125. $this->setAttribute('user_id', $user->getId(), 'sfGuardSecurityUser');
126. $this->setAuthenticated(true);
127. $this->clearCredentials();
128. $this->addCredentials($user->getAllPermissionNames());
129.
130. // save last login
131. $user->setLastLogin(date('Y-m-d H:i:s'));
* at sfGuardSecurityUser->signIn(object('sfGuardUser'))
in SF_ROOT_DIR\plugins\sfDoctrineGuardPlugin\lib\sfGuardRememberMeFilter.class.php line 52 ...
49.
50. if ($q->count())
51. {
52. $this->context->getUser()->signIn($q->fetchOne()->sfGuardUser);
53. }
54. }
55.
* at sfGuardRememberMeFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\filter\sfFilterChain.class.php line 53 ...
50. }
51.
52. // execute the next filter
53. $this->chain[$this->index]->execute($this);
54. }
55. }
56.
* at sfFilterChain->execute()
in SF_ROOT_DIR\lib\filter\sfRenderingFilter.class.php line 33 ...
30. public function execute($filterChain)
31. {
32. // execute next filter
33. $filterChain->execute();
34.
35. // get response object
36. $response = $this->context->getResponse();
* at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR\lib\filter\sfFilterChain.class.php line 53 ...
50. }
51.
52. // execute the next filter
53. $this->chain[$this->index]->execute($this);
54. }
55. }
56.
* at sfFilterChain->execute()
in SF_ROOT_DIR\lib\controller\sfController.class.php line 233 ...
230. }
231.
232. // process the filter chain
233. $filterChain->execute();
234. }
235. else
236. {
* at sfController->forward('categories', 'index')
in SF_ROOT_DIR\lib\controller\sfFrontWebController.class.php line 48 ...
45. }
46.
47. // make the first request
48. $this->forward($moduleName, $actionName);
49. }
50. catch (sfException $e)
51. {
* at sfFrontWebController->dispatch()
in SF_ROOT_DIR\lib\util\sfContext.class.php line 170 ...
167. */
168. public function dispatch()
169. {
170. $this->getController()->dispatch();
171. }
172.
173. /**
* at sfContext->dispatch()
in SF_ROOT_DIR\web\backend_dev.php line 13 ...
Po ponownym odświeżeniu błąd znika. Nie mam pojęcia co może być przyczyną, google milczy...
Cookie lifetime? Konfiguracja security.yml?
Jakieś pomysły?