Description and Tags not Loading

Oct 24, 2010 at 1:05 PM

I am using LinqToFlickr in .NET 4.0 and am able to upload new photos with descriptions and tags.  When I retrieve them, however, the tags and description are not coming back.  I don't know if there is something that I'm missing.  Here is the query that I'm using:

 var query = from photo in context.Photos                      

where photo.ViewMode == ViewMode.Owner                        

&& photo.Extras == (ExtrasOption.Views | ExtrasOption.Date_Taken | ExtrasOption.Date_Upload | ExtrasOption.Tags | ExtrasOption.Date_Upload)

select photo;

Any help would be greatly appreciated.

Thanks!

Coordinator
Nov 1, 2010 at 7:14 AM

Hi,

Sorry for the late reply. This seems to be a bug. I will upload a patch on this later this week.

Coordinator
Nov 9, 2010 at 9:52 AM

Hi,

Please make sure that photo response has the correct tags. Generally for photo list, response tag looks like:

<photo id="5098977234" owner="38748066@N02" secret="739237c389" server="1064" farm="2" title="Lady at work" ispublic="1" isfriend="0" isfamily="0" tags="camera macbook" views="33" dateupload="1287554141" datetaken="2010-10-10 20:21:51" datetakengranularity="0" />

 You can here see that there is no Description node. I added a test named ShouldValidateResponseForExtrasOption under PhotoFixture.cs. Please check it out for more info.

Thanks!!