Ok, I thought I was going crazy but it turns out not :-).
I downloaded what I think is the latest version of the Desktop zimbra app from the zimbra site, and created a nice little dev environment on my linux desktop. I wrote cool little zimlet which worked great and used (from examples and what I have found around) zmObject.srcObj and all worked well.
Then when I uploaded my new zimlet to my production environment :
Release 5.0.13_GA_2791.UBUNTU8_64 UBUNTU8_64 NETWORK edition
It totally didn't work. After going through the debugger I realised that oddly enoug
zmObject.srcObj was undefined. So I went through the source code and in
Zimbra_all.
js on my desktop environment, in fact the zmObject is assigning srcObj
but in the production environment, that line has been taken out.
So my question is, is this a bug in my version? or is this taken out on purpose as it seems srcObj has been taken out of all zmObject wrappers.
If it has been taken out, what would be the proper way to get the object we are looking for? Is there a generic getObject() call we can use with the object id which we do get in the zmObject class?
G23