douglashowe / as3flickrlib

Automatically exported from code.google.com/p/as3flickrlib
0 stars 0 forks source link

Tags not parsed on Photos.search #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. search('', Text, 'any', '', null, null, null, null, -1, 'tags', 10, 1,
"relevance");   

What is the expected output? What do you see instead?
The tags is returned in Xml, the field is defined in the Photo class, but
parsePagedPhotoList in MethodGroupHelper does not parse them. 

This is probably also the case with other extra tags, such as machine_tags.

What version of the product are you using? On what operating system?
0.87

Original issue reported on code.google.com by flens...@gmail.com on 29 Oct 2008 at 12:31

GoogleCodeExporter commented 8 years ago
This also seems to be the case for favorites.getPublicList

Original comment by will.tho...@gmail.com on 2 Feb 2009 at 6:06

GoogleCodeExporter commented 8 years ago
I fixed this by adding the following to parsePagedPhotoList in 
MethodGroupHelper.as

photo.tags = new Array();
if(p.@tags != "") {
  photo.tags = p.@tags.split(" ");
}

I've attached the updated file

Original comment by will.tho...@gmail.com on 2 Feb 2009 at 6:47

Attachments: