[Kune - Support #522] (New) Gadgets stopped working
Issue #522 has been reported by Christopher Baldwin. ---------------------------------------- Support #522: Gadgets stopped working http://redmine.ourproject.org/issues/522 * Author: Christopher Baldwin * Status: New * Priority: Low * Assignee: * Category: Gadgets * Target version: * Resolution: * Tags: ---------------------------------------- Hi all, I'm hoping that you can see something blatantly obvious that I've done wrong or missed. Had Gadgets working in kune_0.2.0+b34_all.deb, after compiling and packaging kune_0.3.0+b23_all.deb from trunk, they all fail. Did a clean install and clean database, nothing changed. Google chrome's console shows that it's not able to talk to the cross-domain frame of the widget: <pre> JS Error - Uncaught TypeError: Object #<HTMLIFrameElement> has no method 'postMessage' [wave-rpc.js:601] </pre> Firefox does the same thing: <pre> Error: TypeError: i.postMessage is not a function Source File: http://live.brizmun.org:8888/others/splash/js/wave-rpc.js Line: 601 </pre> I'm not sure what else to check - comparing against what's served by kune.cc, I can't spot the difference. Any ideas? --- Example Blip: http://live.brizmun.org:8888/waveref/live.brizmun.org/w+7vxlbcpl0tsbA/~/conv... Account/Pass: testuser / testuser Server: Ubuntu 12.04 LTS [AWS] Address: http://live.brizmun.org/ (jetty on :8888, varnish cache on :80) --- Chris B -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://redmine.ourproject.org/my/account
Issue #522 has been updated by Christopher Baldwin. Whoops - here's a better link: http://live.brizmun.org:8888/#!sandbox.docs.29.11 Did some more digging to try understand what it's doing. For some reason, gadgets.rpc._getTargetWin() is returning an iframe rather than a window object. Everything else (message, target origin) seems to match. <pre> /* h = "wgadget_iframe_0" */ /* returns an iframe object, where .postMessage is useless */ i = gadgets.rpc._getTargetWin(h); i.postMessage('{"not","a","real"}', 'http://message.net''); // postMessage is not a valid function /* returns a window object, where .postMessage is valid */ i = window.frames[h]; i.postMessage('{"not","a","real"}', 'http://message.net''); // postMessage is a valid function </pre> ---------------------------------------- Support #522: Gadgets stopped working http://redmine.ourproject.org/issues/522#change-762 * Author: Christopher Baldwin * Status: New * Priority: Low * Assignee: * Category: Gadgets * Target version: * Resolution: * Tags: ---------------------------------------- Hi all, I'm hoping that you can see something blatantly obvious that I've done wrong or missed. Had Gadgets working in kune_0.2.0+b34_all.deb, after compiling and packaging kune_0.3.0+b23_all.deb from trunk, they all fail. Did a clean install and clean database, nothing changed. Google chrome's console shows that it's not able to talk to the cross-domain frame of the widget: <pre> JS Error - Uncaught TypeError: Object #<HTMLIFrameElement> has no method 'postMessage' [wave-rpc.js:601] </pre> Firefox does the same thing: <pre> Error: TypeError: i.postMessage is not a function Source File: http://live.brizmun.org:8888/others/splash/js/wave-rpc.js Line: 601 </pre> I'm not sure what else to check - comparing against what's served by kune.cc, I can't spot the difference. Any ideas? --- Example Blip: http://live.brizmun.org:8888/waveref/live.brizmun.org/w+7vxlbcpl0tsbA/~/conv... Account/Pass: testuser / testuser Server: Ubuntu 12.04 LTS [AWS] Address: http://live.brizmun.org/ (jetty on :8888, varnish cache on :80) --- Chris B -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://redmine.ourproject.org/my/account
Issue #522 has been updated by Vicente J. Ruiz Jurado. Status changed from New to Rejected Resolution set to worksforme We were/are using gadget without major problems in all of our releases. Some comments: 1) Why do you compile yourself? Can you try with one of our provided packets? ftp://ftp.ourproject.org/pub/kune/debian/unstable/ 2) The only issue I remeber was something introduced with gadget height with this issue: https://reviews.apache.org/r/8008/ but it was reverted in our last packages. 3) Can you test your gadgets in kune.cc (that are using the previous packages). So a "works for me". Please feel free to reopen this. ---------------------------------------- Support #522: Gadgets stopped working http://redmine.ourproject.org/issues/522#change-766 * Author: Christopher Baldwin * Status: Rejected * Priority: Low * Assignee: * Category: Gadgets * Target version: * Resolution: worksforme * Tags: ---------------------------------------- Hi all, I'm hoping that you can see something blatantly obvious that I've done wrong or missed. Had Gadgets working in kune_0.2.0+b34_all.deb, after compiling and packaging kune_0.3.0+b23_all.deb from trunk, they all fail. Did a clean install and clean database, nothing changed. Google chrome's console shows that it's not able to talk to the cross-domain frame of the widget: <pre> JS Error - Uncaught TypeError: Object #<HTMLIFrameElement> has no method 'postMessage' [wave-rpc.js:601] </pre> Firefox does the same thing: <pre> Error: TypeError: i.postMessage is not a function Source File: http://live.brizmun.org:8888/others/splash/js/wave-rpc.js Line: 601 </pre> I'm not sure what else to check - comparing against what's served by kune.cc, I can't spot the difference. Any ideas? --- Example Blip: http://live.brizmun.org:8888/waveref/live.brizmun.org/w+7vxlbcpl0tsbA/~/conv... Account/Pass: testuser / testuser Server: Ubuntu 12.04 LTS [AWS] Address: http://live.brizmun.org/ (jetty on :8888, varnish cache on :80) --- Chris B -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://redmine.ourproject.org/my/account
Issue #522 has been updated by Vicente J. Ruiz Jurado. Something related is #531. ---------------------------------------- Support #522: Gadgets stopped working http://redmine.ourproject.org/issues/522#change-779 * Author: Christopher Baldwin * Status: Rejected * Priority: Low * Assignee: * Category: Gadgets * Target version: * Resolution: worksforme * Tags: ---------------------------------------- Hi all, I'm hoping that you can see something blatantly obvious that I've done wrong or missed. Had Gadgets working in kune_0.2.0+b34_all.deb, after compiling and packaging kune_0.3.0+b23_all.deb from trunk, they all fail. Did a clean install and clean database, nothing changed. Google chrome's console shows that it's not able to talk to the cross-domain frame of the widget: <pre> JS Error - Uncaught TypeError: Object #<HTMLIFrameElement> has no method 'postMessage' [wave-rpc.js:601] </pre> Firefox does the same thing: <pre> Error: TypeError: i.postMessage is not a function Source File: http://live.brizmun.org:8888/others/splash/js/wave-rpc.js Line: 601 </pre> I'm not sure what else to check - comparing against what's served by kune.cc, I can't spot the difference. Any ideas? --- Example Blip: http://live.brizmun.org:8888/waveref/live.brizmun.org/w+7vxlbcpl0tsbA/~/conv... Account/Pass: testuser / testuser Server: Ubuntu 12.04 LTS [AWS] Address: http://live.brizmun.org/ (jetty on :8888, varnish cache on :80) --- Chris B -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://redmine.ourproject.org/my/account
participants (1)
-
Redmine Comunes