Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1067

'Zend_Exception' with message 'Indirect modification of overloaded property Zend_View::$rows has no effect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • translate5 - 2.8.1
    • None
    • None

    Description

      problem

      Using the API to create a task-user-association with an invalid role leads to a non understandable error message:
      'Zend_Exception' with message 'Indirect modification of overloaded property Zend_View::$rows has no effect

      solution

      The problem is, that postAction is overridden in Taksuserassoc controller. parent::postAction is called, there is done the validation. After doing the validation (which surly fails since roles are validated) the process continues in the inherited postAction which then tries to add some data to a non existent $this->rows field.

      trace

      ZfExtended_Log on www.translate5.net: exception 'Zend_Exception' with message 'Indirect modification of overloaded property Zend_View::$rows has no effect; File: /webs/www.translate5.net/application/modules/editor/Controllers/TaskuserassocController.php; Line: 159; errno: 8' in /webs/www.translate5.net/library/ZfExtended/Resource/ErrorHandler.php:122
      Stack trace:
      #0 /webs/www.translate5.net/application/modules/editor/Controllers/TaskuserassocController.php(159): ZfExtended_Resource_ErrorHandler::errorHandler(8, 'Indirect modifi...', '/webs/www.trans...', 159, Array)
      #1 /webs/www.translate5.net/application/modules/editor/Controllers/TaskuserassocController.php(149): Editor_TaskuserassocController->addUserInfoToResult()
      #2 /webs/includes/ZendFramework-1.12.9-minimal/library/Zend/Controller/Action.php(516): Editor_TaskuserassocController->postAction()
      #3 /webs/www.translate5.net/library/ZfExtended/Controllers/AAARestController.php(247): Zend_Controller_Action->dispatch('postAction')
      #4 /webs/includes/ZendFramework-1.12.9-minimal/library/Zend/Controller/Dispatcher/Standard.php(308): ZfExtended_RestController->dispatch('postAction')
      #5 /webs/includes/ZendFramework-1.12.9-minimal/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(REST_Controller_Request_Http), Object(Zend_Controller_Response_Http))
      #6 /webs/includes/ZendFramework-1.12.9-minimal/library/Zend/Application/Bootstrap/Bootstrap.php(101): Zend_Controller_Front->dispatch()
      #7 /webs/includes/ZendFramework-1.12.9-minimal/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
      #8 /webs/www.translate5.net/library/ZfExtended/BaseIndex.php(167): Zend_Application->run()
      #9 /webs/www.translate5.net/public/index.php(35): ZfExtended_BaseIndex->startApplication()
      #10

      {main}

      Aufgerufene URL inkl. ggf. vorhandener POST-Parameter als get-Parameter:

      /editor/taskuserassoc/post/_dc/1511875935563/data/{"taskGuid":"

      {63ce4726-7e40-4fd6-a541-fef89f9ab8f1}

      ","role":"testme","state":"open","id":"Editor.model.admin.TaskUserAssoc-2","entityVersion":50,"userGuid":"

      {51fc041e-80f6-4a6f-be7c-0ade4613b95c}

      "}/format/json

      Attachments

        Activity

          People

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: