Error in retrieveEntities

Aug 12, 2010 at 5:28 AM

Hi All ,

I am try to get the records in Azure Table. In my table some fields are having empty value. for example Name field have empty in few records . If used below sample . I got below error . Please any one provide good suggestion to fix this issue.

 

class Sample extends Microsoft_WindowsAzure_Storage_TableEntity
{
        /**
        * @azure Name
        */
        public $Name;
}

Fatal error: Uncaught exception 'Microsoft_WindowsAzure_Exception' with message 'Property 'Name' was not found in $values array' in C:\xampplite\htdocs\project\Microsoft\WindowsAzure\Storage\TableEntity.php:265 Stack trace: #0 C:\xampplite\htdocs\project\Microsoft\WindowsAzure\Storage\Table.php(625): Microsoft_WindowsAzure_Storage_TableEntity->setAzureValues(Array, true) #1 C:\xampplite\htdocs\project\SystemAccess.php(73): Microsoft_WindowsAzure_Storage_Table->retrieveEntities('testTable', '', 'SampleEntity') #2 {main} thrown in C:\xampplite\htdocs\project\Microsoft\WindowsAzure\Storage\TableEntity.php on line 265

 

Thanks

Tamilmani Mohan

Coordinator
Aug 12, 2010 at 7:21 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.