Criteria for changes to LastUpdated in albums.get...

mattwrightmattwright Registered Users Posts: 124 Major grins
I was wondering why the LastUpdated value for album does not seem to change in albums.get when photos are re-ordered within a gallery or moved away from a gallery?

I did a test where I dragged my photos around in Arrange > Drag to Arrange and it did not change the LastUpdated field. I also tested moving an image from one gallery to another. The receiving gallery had the LastUpdated field changed, but not the gallery from which the image was moved.

Unfortunately, the first behavior (rearranging) means for apps that want to sync image order within albums, they may still need to grab the photos for all albums to see if the ordering has changed at all... The second behavior (moving between galleries) is fine for my app, but still seems counter-intuitive.

Thanks,

Matt

Comments

  • mattwrightmattwright Registered Users Posts: 124 Major grins
    edited February 12, 2009
    Changing Featured image also fails to change the LastUpdated value...
    LastUpdated value for an album will also not change when the Highlight image changes... Not an issue for my app, as the albums.get will return the new highlight, but still seems counter-intuitive, as the album was updated...

    The big one I would like changed is if they re-order images for the LastUpdated field to change...
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited February 12, 2009
    Hey Matt,

    I'll have a look into these issues, from a high level perspective...I think they are class level issues as opposed to API specific ones.

    But I'll check it out and i'm sure it will be something simple.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited February 12, 2009
    Matt,

    Were you changing moving the images to the other gallery via the API or using the website ?

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • mattwrightmattwright Registered Users Posts: 124 Major grins
    edited February 13, 2009
    via web site...
    devbobo wrote:
    Were you changing moving the images to the other gallery via the API or using the website ?
    All of my changes (move or reorder) were made via web site... The receiving gallery had LastUpdated changed, but the one from which the image was moved did not.

    FYI, the change that I would most like fixed is that re-ordering images within the gallery should change LastUpdated for that gallery. But I also understand if due to internal code or existing behavior you cannot make that change...

    Matt
  • mattwrightmattwright Registered Users Posts: 124 Major grins
    edited February 18, 2009
    LastUpdated fails to change when image is replaced...
    API: 1.2.2; method: smugmug.albums.get

    Steps to reproduce:
    1) Note the LastUpdated time returned for a specific album
    2) Go to the album in your web gallery and locate a photo
    3) Use Tools -> More -> Replace to change it to a different photo
    4) LastUpdated time will not change in smugmug.albums.get

    Seems weird for LastUpdated not to change when an image is replaced... Or maybe I am just confused on what LastUpdated means in relation to an album. Adding a photo does change the LastUpdated value.
  • fermionfermion Registered Users Posts: 13 Big grins
    edited May 28, 2009
    devbobo wrote:
    Hey Matt,

    I'll have a look into these issues, from a high level perspective...I think they are class level issues as opposed to API specific ones.

    But I'll check it out and i'm sure it will be something simple.

    Cheers,

    David

    I'm also wondering why this wasn't done. Setting/modifying any attribute of an album should trigger a change in the LastUpdated field, in my opinion. For example, setting the password or modifying it doesn't trigger a change.

    This is a must have for someone looking to use smugmug for a master image store and keep it in sync with, for example, a blog.

    David, I know that it's been quite a while since the original ticket, but has there been any discussion about fixing this?
  • fermionfermion Registered Users Posts: 13 Big grins
    edited May 28, 2009
    never mind :-/
    It looks like there might've been 5-15 seconds of lag in the LastUpdated showing up in my calls to the API. Sorry about the noise :-/
Sign In or Register to comment.