I'm using the GData .NET library version 1.4.0.2 and am finding that
documents' ParentFolders property returns an unexpected value. If I've
done something wrong or my expectations are incorrect, please let me know.
What steps will reproduce the problem?
1. Using the web interface to Google Docs, I uploaded a few PDF files and
added them to different folders, giving some of them multiple parent
folders (this is the key bit).
2. I then used the DocListExporter sample app to retrieve the list of
documents.
Expected output:
The resulting tree view in DocListExporter should match the folder
structure as it appears on the Google Docs web interface (with some
documents listed under many folders).
Actual results:
Each document appeared under only one parent folder. When I breakpoint and
step through the code, I can see that the ParentFolders property of each
PDF document contains exactly one item, regardless of whether the document
has been placed under multiple folders.
Additional:
I wrote a test app which used DocumentsRequest.GetFolders() to get the
folder list and iteratively called Document.GetFolderContent() to get the
documents in each folder. This returned the expected output - a hierarchy
of documents that matched the folder structure on the web interface. Each
document, however, still reported its ParentFolders count as 1 (even if it
was found in multiple folders).
Thanks for your time.
Original issue reported on code.google.com by clin...@gmail.com on 4 Feb 2010 at 12:58
Original issue reported on code.google.com by
clin...@gmail.com
on 4 Feb 2010 at 12:58