-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
None
-
Affects Version/s: None
-
Component/s: Dashboard & Gadgets
-
None
-
Environment:
4.0.2 QA build #391
Standalone
When leaving the JIRA dashboard idle, when it attempts to refresh the security tokens, JavaScript errors are thrown:
Unknown RPC Service: update_security_token
The code in question is:
var g="Class "+H+"\n Private m_Intended\nPrivate m_Auth\nPublic Sub SetIntendedName(name)\n If isEmpty(m_Intended) Then
\nm_Intended = name\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\n If isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub
\nPublic Sub SendMessage(data)\n "+Y+"(data)\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\n
Public Sub CreateChannel(channel, auth)\n Call "+O+"(m_Intended, channel, auth)\nEnd Sub\nEnd Class\nFunction "+B+"(name, auth)\n
Dim wrap\nSet wrap = New "+H+"\nwrap.SetIntendedName name\nwrap.SetAuth auth\nSet "+B+" = wrap\nEnd Function";
try{window.execScript(g,"vbscript")
}catch(h){I="ifpc"
}}}}var I=Z();
b();
C[P]=function(){throw new Error("Unknown RPC service: "+this.s)
};
It is thrown a number of times, possibly once per gadget on the dashboard.
This is a regression from JIRA 4.0.1.
Reproduces in both IE7 and FireFox 3.5.7.
Caused as a part of the fix to AG-661
- relates to
-
JRASERVER-68566 Unknown RPC service: update_security_token
-
- Closed
-