Ticket #947 (assigned defect)

Opened 7 years ago

Last modified 7 years ago

Problem with SGL_Request when initializing

Reported by: adamm Assigned to: demian (accepted)
Priority: normal Milestone:
Component: not categorised Severity: not categorised
Keywords: Cc:


something is wrong in SGL_Request:

when I want to use a singleton of SGL_Request in ExplorerBsd::getGuruTree, when it is loaded through SGL_Task_SetuBlocks in process I get empty SGL_Request: sgl_request Object ( [aProps] => Array ( [index.php] => ) )

but when I debug earlier processed classes it is all well till SGL_Task_SetupLangSupport, when there is problem and SGL_Request content is cleared after that such code: (SGL_Task_SetupLangSupport::process)

$req = $input->getRequest(); ...

but when I set this code in the beginning of SGL_Task_SetupLangSupport::process

$req = & SGL_Request::singleton();

then everything is OK and I get in SGL_Request::singleton sgl_request Object (

[aProps] => Array


[index.php] => [moduleName] => publisher [managerName] => articleview [action] => summary [] =>



To reproduce this bug, set in config file: $confsite?defaultModule? = 'publisher'; $confsite?defaultManager? = 'articleview'; $confsite?defaultParams? = 'action/summary/';

and insert block for categories in the left/right blocks for publisher/articleview section, then try to click on any category and instead of link:


you get this: http://localhost/seagull3/www/index.php/default/frmCatID/18/

Config: PHP 4.4.1 under Windows

Change History

05/17/06 06:20:32 changed by demian

  • owner changed from somebody to demian.
  • status changed from new to assigned.
  • milestone set to 0.6.0.

08/13/06 20:31:06 changed by demian

  • milestone deleted.