You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Jacky Wang (JIRA)" <ji...@apache.org> on 2008/08/12 14:22:46 UTC
[jira] Updated: (SHINDIG-513) Infinite recursion in
opensocial7to8.js and opensocial6to7.js
[ https://issues.apache.org/jira/browse/SHINDIG-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacky Wang updated SHINDIG-513:
-------------------------------
Attachment: fix-javascript-compatibility-bug.patch
Modify all name like "functionNameOld" to "functionName_v0x" to avoid conflicting.
> Infinite recursion in opensocial7to8.js and opensocial6to7.js
> -------------------------------------------------------------
>
> Key: SHINDIG-513
> URL: https://issues.apache.org/jira/browse/SHINDIG-513
> Project: Shindig
> Issue Type: Bug
> Components: Features (Javascript)
> Environment: N/A
> Reporter: Jacky Wang
> Attachments: fix-javascript-compatibility-bug.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When gadget requires opensocial-0.6, ggs will load opensocial7to8.js and opensocial6to7.js consequently.
> However, both in 6to7 and 7to8, it has the statements as following:
> functionNameOld = functionName;
> functionName = new function object;
> 1. name is not correct: functionNameOld is actually the higher version of function.
> 2. when two js files loaded, the name "functionNameOld" conflicts and lead to infinite recursion.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.