[opencms-dev] Error when uploading image via ADE

Tobias Herrmann t.herrmann at alkacon.com
Wed Oct 19 17:47:57 CEST 2011


Hi Christoph,

this error occurs since firefox 7. They changed their javascript file object implementation. We have fixed that bug for the upcoming release of OpenCms 8.0.3.

You probably won't be able to fix this using the javascript files that where generated by GWT. They are highly optimized and minimized, but not made for debugging. Sorry about that.

Greetings, Tobias

--

Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com  --  http://www.opencms.org



Am 19.10.2011 15:41, schrieb Christoph Fröhlich:
> Hi
>
> uploading an image via ADE fails for us with the error message below.
> Debugging the issue with Firebug shows, that the object "File" does not have a property "fileName" but has a property "name".
>
> I tried to be clever and changed c.fileName to c.name <http://c.name/> in function X0c of file "B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html".
> But this just lead to a next error.
>
> Is this a bug ? Can we do something on our side to fix it? Unfortunately I have no experience with gwt
>
> Regards
> Christoph
>
>
> 19 Okt 2011 14:53:02,664 ERROR [ org.opencms.gwt.CmsLogService:  66] Client LOG (Host XXXXXXXX, Address XXXXXX, Ticket 1319028782460): (TypeError): c.fileName is undefined
> fileName: http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html
> stack: X0c([object File])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:3540
> tac([object Object],[object Object])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:4267
> rac([object Object],[object Object])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:2876
> ccc([object Object])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:3424
> qcc([object Object])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:4425
> Hr([object Object])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:4407
> xv([object Object],[object Object],null)@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:4226
> mv([object Object],[object Object])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:3985
> N8([object Object])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:4413
> ur([object Event],[object Object],[object HTMLInputElement])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:3735
> F8([object Object],[object Event])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:3619
> R8([object Event])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:4413
> t2([object Event],[object HTMLInputElement],[object Object])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:3421
> ([object Event])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:4374
> yl((function (b) {var c, d = this;while (d && !(c = d.__listener)) {d = d.parentNode;}d && d.nodeType != 1 && (d = null);c && s3(c) && t2(b, d, c);}),[object HTMLInputElement],[object Arguments])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:2482
> Bl((function (b) {var c, d = this;while (d && !(c = d.__listener)) {d = d.parentNode;}d && d.nodeType != 1 && (d = null);c && s3(c) && t2(b, d, c);}),[object HTMLInputElement],[object Arguments])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:4015
> ([object Event])@http://our.server.de/opencms/resources/ade/galleries/B0B9BAC2F0B142F9B91E3393C15F5C3E.cache.html:3410
>
> lineNumber: 3540
> Unknown.X0c(Unknown Source)
> Unknown.tac(Unknown Source)
> Unknown.rac(Unknown Source)
> Unknown.ccc(Unknown Source)
> Unknown.qcc(Unknown Source)
> Unknown.Hr(Unknown Source)
> Unknown.xv(Unknown Source)
> Unknown.mv(Unknown Source)
> Unknown.N8(Unknown Source)
> Unknown.ur(Unknown Source)
> Unknown.F8(Unknown Source)
> Unknown.R8(Unknown Source)
> Unknown.t2(Unknown Source)
> Unknown.anonymous(Unknown Source)
> Unknown.yl(Unknown Source)
> Unknown.Bl(Unknown Source)
> Unknown.anonymous(Unknown Source)
> Unknown.anonymous(Unknown Source)
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20111019/9c83de30/attachment.htm>


More information about the opencms-dev mailing list