AnsweredAssumed Answered

why is MessagesWebScript.java loading a blank from alfresco?

Question asked by aweber1nj on Sep 14, 2012
Latest reply on Sep 19, 2012 by kevinr
MessagesWebScript.java has code to load a hard-coded image file from http://www.alfresco.com for no apparent reason.  In fact, the image file exists on the alfresco servers…but the image is basically nothing.  That is, it has a valid png header, but nothing is displayed by the contents.

I can think of some possible reasons this code is choosing to load a blank image from the alfresco servers (not the installation, but the alfresco corporate web servers), but I can't think of any really good ones.  And the comments in the java header indicates: "WebScript responsible for returning a JavaScript response containing a JavaScript associative array of all I18N messages name/key pairs installed on the web-tier."  Why would that need to fetch a tiny, blank image-file from alfresco.com?

Does anyone know why this code is loading http://www.alfresco.com/assets/images/logos/community-4.0-share.png ?  Especially since it doesn't appear to be a logo at all, and the script generated has style="display:none" as well?

I'd appreciate a better understanding of this code.

Thanks,
AJ

Outcomes