Project

General

Profile

Anomalie #80

dysfonctionnement export de la sélection

Added by Yann Buthion over 5 years ago. Updated over 3 years ago.

Status:
Fermé
Priority:
Haut
Start date:
04/29/2016
Due date:
% Done:

100%

Estimated time:

Description

voici le message d'erreur lorsque j'exporte ma sélection (sélection des 25 premiers objets de l'annuaire) :

Symfony
Search on Symfony website
Need support?
Exception detected!
Fatal error: Call to a member function getAddressLine1() on null
500 Internal Server Error - FatalThrowableError
Stack Trace

in src/PostparcBundle/Controller/SelectionController.php at line 541  
private function insertCoordinateInfos($row, $col, $activeSheetNumber, $phpExcelObject, $coordinate, $request){
$tabFields = $request
>request->get('coordinate');
if( isset($tabFields['addressLine1']) ){
$phpExcelObject->setActiveSheetIndex($activeSheetNumber)->setCellValueByColumnAndRow($col, $row, $coordinate->getAddressLine1());
$col++;
}
if( isset($tabFields['addressLine2']) ){
at SelectionController ->insertCoordinateInfos ('2', '3', '0', object(PHPExcel), null, object(Request))
in src/PostparcBundle/Controller/SelectionController.php at line 397 +
at SelectionController ->insertPersonInfos ('2', '3', object(Person), '0', object(PHPExcel), object(Request))
in src/PostparcBundle/Controller/SelectionController.php at line 372 +
at SelectionController ->insertPersonsInfos (array(object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person), object(Person)), '0', object(PHPExcel), object(Request))
in src/PostparcBundle/Controller/SelectionController.php at line 245 +
at SelectionController ->exportSelectionExecuteAction (object(Request))
at call_user_func_array (array(object(SelectionController), 'exportSelectionExecuteAction'), array(object(Request)))
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 142 +
at HttpKernel ->handleRaw (object(Request), '1')
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 65 +
at HttpKernel ->handle (object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 169 +
at Kernel ->handle (object(Request))
in web/app_dev.php at line 31 +

Logs -

Stack Trace (Plain Text) +

#1

Updated by philippe GODOT over 5 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100
#2

Updated by philippe GODOT over 5 years ago

  • Project changed from postparc to postparcV2
#3

Updated by philippe GODOT over 3 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF