Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002741 [Quercus] minor always 06-18-08 06:40 08-11-08 12:00
Reporter ferg View Status public  
Assigned To ferg
Priority urgent Resolution fixed  
Status closed   Product Version 3.1.6
Summary 0002741: request->getParameter sometimes missing
Description (rep by Paul Fisher)

wordpress/wp-content/plugins/getCategoryList.php:18: Fatal Error:
'com.caucho.server.hmux.HmuxRequest::getParameter' is an unknown method

Additional Information We have deployed this fix and it seems to be working fairly well. However, we noticed that some content is now no longer displaying. On out site, the category listing widget is now showing no results. Any thoughts on how _GET might work differently from request.getParameter()?
 
Attached Files

- Relationships

- Notes
(0003208)
nam
06-18-08 07:36

simple test case:

<?php

  $req = quercus_get_request(); // HttpRequest Java object
  $req->getClass(); // Object::getClass()

?>
 
(0003318)
ferg
08-11-08 12:00

For the difference question, _GET does some extra processing, like converting ?a[]=test into a PHP array.

request.getParameter() adds a key for "a[]" not "a".

Also, request.getParameter() reads the POST. _GET only applies to the GET parameters.

 

- Issue History
Date Modified Username Field Change
06-18-08 06:40 ferg New Issue
06-18-08 07:36 nam Note Added: 0003208
08-11-08 12:00 ferg Note Added: 0003318
08-11-08 12:00 ferg Assigned To  => ferg
08-11-08 12:00 ferg Status new => closed
08-11-08 12:00 ferg Resolution open => fixed
08-11-08 12:00 ferg Fixed in Version  => 3.2.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker