Subject: | querying the User table returns duplicate values in the ID column |
Here's my sample code that triggered the bug:
my $LoH = $sf->do_query("Select Id, Username, FirstName, LastName,
Name, CompanyName from User");
use Data::Dumper;
warn Dumper ($LoH);
Here's what I got back. It looks like a mistake that the "Id" field
points to an arrayref with 2 identical values. I would have expected to
point to a single scalar value.
$VAR1 = [
bless( {
'FirstName' => 'Mark',
'Id' => [
'005A0000000cWhEIAU',
'005A0000000cWhEIAU'
],
'LastName' => 'Stosberg',
'Username' => 'mark@summersault.com',
'CompanyName' => 'Summersault',
'type' => 'User',
'Name' => 'Mark Stosberg'
}, 'sObject' )
];
####
Also, the docs say it returns a plain hashref, but this apparently a
blessed "sObject". However, I didn't see any documentation about what
methods might be available to call on an "sObject".
Mark