Login for user without role "Enable task overview" ends in error

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: User Management

      Problem

      When a new user is created WITHOUT role "Enable task overview", this user is not able to login. It ends with an error:

      ZfExtended_NoAccessException: No initial_page resource is found. in /var/www/translate5/application/modules/default/Controllers/LoginController.php:112
      Stack trace:
      #0 /var/www/translate5/library/ZfExtended/Controllers/Login.php(163): LoginController->initDataAndRedirect()
      #1 /var/www/translate5/library/ZfExtended/Controllers/Login.php(86): ZfExtended_Controllers_Login->isValidLogin()
      #2 /var/www/translate5/application/modules/default/Controllers/LoginController.php(70): ZfExtended_Controllers_Login->indexAction()
      #3 /var/www/translate5/vendor/shardj/zf1-future/library/Zend/Controller/Action.php(522): LoginController->indexAction()
      #4 /var/www/translate5/vendor/shardj/zf1-future/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
      #5 /var/www/translate5/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
      #6 /var/www/translate5/vendor/shardj/zf1-future/library/Zend/Application/Bootstrap/Bootstrap.php(106): Zend_Controller_Front->dispatch()
      #7 /var/www/translate5/vendor/shardj/zf1-future/library/Zend/Application.php(400): Zend_Application_Bootstrap_Bootstrap->run()
      #8 /var/www/translate5/library/ZfExtended/Application.php(75): Zend_Application->run()
      #9 /var/www/translate5/library/ZfExtended/BaseIndex.php(171): ZfExtended_Application->run()
      #10 /var/www/translate5/public/index.php(35): ZfExtended_BaseIndex->startApplication()
      #11 {main}
      

      Does a user without this role make any sense ?

      Solution

      Either role "Enable task overview" is some kind of useless and should always be granted.
      Or: another error / message should be shown. But here I ask myself: where is the user when he can not see the tasks-list page?

            Assignee:
            Leon Kiz
            Reporter:
            Stephan Bergmann
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: