Hmmm. It appears that trimming the whitespace from the string I'm binding the publish name to breaks something. Somehow the name that is stored in the persistent plugin metadata is being stored as nil. Not sure what is at the root of that.
Maybe post some code?
I'm not at all familiar with the publishing, so I probably wont be able to help. However, I am very familiar with binding in other contexts, so ya never know...
since nobody else has responded, it may be worth a shot
There isn't any code to post, really. publish_fallbackNameBinding is an SDK property that takes an optional string which is the name of a property from the publishSettings property table. It will use this binding to update the publish service description name with a default.
The sample code works, of course. My tweaked example uses the exact same binding to the exact same property, but this property is set in only a slightly different manner (I trim whitespace from it prior to setting it in the publishSettings table.)
So, I suspect this is a timing bug, but in order to fix this I suppose you'd have to see, and understand, the whole plugin. I'm basing my work off the Flickr plugin example.
Fair enough - sorry I couldn't help...