Problem in base_connector.php

I tried GridConnector() as the data source of the grid, but It’s always error. So I stepped into the source code. The original code is:
public function output($name=“”, $inline=true){
if ($this->type == “xml”)
header(“Content-type: text/xml”);

echo (string)$this;

It always outputs “#Object…”
After I modified “echo (string)$this;” to “echo $this->__toString();”
Then the output is ok.

Yep, next version will includes the same fix.
Latest version of php calls toString automatically, but to be compatible with older versions of code such update is necessary.