Skip to content

Instantly share code, notes, and snippets.

@nicnocquee
Created November 30, 2014 23:46
Show Gist options
  • Save nicnocquee/238560cd784db45c78ef to your computer and use it in GitHub Desktop.
Save nicnocquee/238560cd784db45c78ef to your computer and use it in GitHub Desktop.
Reason why some albums not showing photos in Delightful Trovebox.

The bug where an album doesn't show any photos is related to the bug I reported in frontend photo/frontend#1563

So for example, I requested photos in album 2q, the photos returned don't have album 2q.

<NSMutableURLRequest: 0x7f833609f1c0> { URL: http://nicnocquee.trovebox.com/v2/photos/list.json?page=0&pageSize=20&sortBy=dateUploaded%2Cdesc&returnSizes=320x320%2C640x640&album=2q }
Printing description of responseObject:
<__NSArrayM 0x7f8336132460>(
<Photo: 0x7f833610c9f0> {
    albums =     (
        2n
    );
    asAlbumCoverImage = "<null>";
    asAlbumCoverURL = "<null>";
    asset = "<null>";
    currentPage = 0;
    currentRow = "<null>";
    dateSortByDay = 20091019113708;
    dateTaken = 1255980171;
    ...
},
<Photo: 0x7f8336158420> {
    albums =     (
        2n
    );
    asAlbumCoverImage = "<null>";
    asAlbumCoverURL = "<null>";
    asset = "<null>";
    currentPage = "<null>";
    ...
},
<Photo: 0x7f833615a230> {
    albums =     (
        2j
    );
    asAlbumCoverImage = "<null>";
    asAlbumCoverURL = "<null>";
    asset = "<null>";
    ...
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment