OpenSocial / spec

OpenSocial Specification #social
http://opensocial.org/
Apache License 2.0
106 stars 11 forks source link

requestNavigateTo("canvas") from profile goes to a different app's canvas view #28

Closed mmarum-sugarcrm closed 11 years ago

mmarum-sugarcrm commented 11 years ago

Original author: alexande...@gmail.com (March 01, 2008 17:12:34)

Description of the bug/feature ==================================

A call to requestNavigateTo("canvas") from the profile box of my app (http://typeracer.com/orkut/gadget.xml) takes me to the canvas page of my other app (http://typeracer.com/orkut/beta/gadget.xml)

<a href="javascript:void(0);" onclick="gadgets.views.requestNavigateTo(canvasView);">click here</a>

Where canvasView is defined in my .js file as:

var canvasView = gadgets.views.getSupportedViews()[gadgets.views.ViewType.FULL_PAGE]

Which container are you using? ==============================

Orkut sandbox.

Which browsers have you experienced this on? ============================================

Firefox 2 on Windows XP.

Safari on Windows XP gives JS error: TypeError: Undefined value http://sandbox.orkut.com/js/gen/common014.js line 127

Which operating systems have you experienced this on? =====================================================

Please provide any additional information below.

Original issue: http://code.google.com/p/opensocial-resources/issues/detail?id=98

mmarum-sugarcrm commented 11 years ago

From alexande...@gmail.com on March 01, 2008 20:55:18 Update: the canvas view that gets navigated to is for the next app in the profile, regardless of what app it is.

mmarum-sugarcrm commented 11 years ago

From alexande...@gmail.com on March 02, 2008 05:03:01 Same outcome with

gadgets.views.requestNavigateTo(new gadgets.views.View("canvas"));

mmarum-sugarcrm commented 11 years ago

From seanblag...@gmail.com on March 03, 2008 12:42:02 This is a ridiculous bug that basically breaks all requestNavigateTo calls and is a showstopper.

mmarum-sugarcrm commented 11 years ago

From alexande...@gmail.com on March 03, 2008 14:00:58 Actually seems to have started working properly for me yesterday, after I filled out all the ModulePrefs attributes (like descriptions, screenshot, email, etc.) Don't know if that's related or not.

mmarum-sugarcrm commented 11 years ago

From alexande...@gmail.com on March 03, 2008 15:14:35 Spoke too soon. It's back to the same weird behavior for me now.

mmarum-sugarcrm commented 11 years ago

From alexande...@gmail.com on March 06, 2008 00:45:09 This is NOT fixed. I just saw the same incorrect behavior (requestNavigateTo from profile goes to a different app's canvas page)!

mmarum-sugarcrm commented 11 years ago

From alexande...@gmail.com on March 06, 2008 19:17:23 Clarification: this doesn't work with &bpc=1

This issue needs to be reopned.

mmarum-sugarcrm commented 11 years ago

From alexande...@gmail.com on March 08, 2008 17:09:39 I just saw this live in production (Orkut.com, not sandbox) without &bpc=1. This was on Peter Chane's profile (click the "try to beat me" link on his TypeRacer gadget.

mmarum-sugarcrm commented 11 years ago

From alexande...@gmail.com on March 08, 2008 17:18:18 This behavior is completely nondeterministic - sometimes it happens and sometimes it doesn't.

mmarum-sugarcrm commented 11 years ago

From alexande...@gmail.com on March 08, 2008 17:29:35 Here's my code:

Try to beat me!

function navigateToCanvas() { gadgets.views.requestNavigateTo(new gadgets.views.View("canvas")); }

When I clicked on that link a couple of times this morning on Peter's profile, I ended up on the Bible Verses canvas page.

mmarum-sugarcrm commented 11 years ago

From bclari...@gmail.com on March 11, 2008 15:02:07 I've also receieved this issue. My resolution was to remove all but one app -- obviously not ideal ;)

mmarum-sugarcrm commented 11 years ago

From seanblag...@gmail.com on March 14, 2008 14:39:06 I also just saw it again today on navigate from showcase to canvas

mmarum-sugarcrm commented 11 years ago

From api.kurrik%google.com@gtempaccount.com on March 25, 2008 17:18:49 Should be fixed now

mmarum-sugarcrm commented 11 years ago

From somu....@gmail.com on May 02, 2008 15:40:47 how can i got user id in my own apps .. i got error for req is not defined..

mmarum-sugarcrm commented 11 years ago

From apijason...@gtempaccount.com on May 02, 2008 17:16:40 Please post any general usage questions to the discussion group. This bug is closed.

http://groups.google.com/group/opensocial-orkut