You need to sign in to do that
Don't have an account?
kshuk-canonical
bug in AJAX toolkit 9.0 re: LoginScopeHeader
I've found what looks to be a bug in AJAX toolkit 9.0 -
On line 1408 of connection.js, we have this if block handling the organizationId element of the LoginScopeHeader:
Code:
The third line of this block tries to write the sessionId as the value for the organizationId header. This is almost certainly a cut & paste oversight is it sits amongst several similar blocks for the other headers, and the one for sessionId directly precedes this one.
I believe that third line should read:
Code:
On line 1408 of connection.js, we have this if block handling the organizationId element of the LoginScopeHeader:
Code:
if (this.organizationId !== null) {
writer.writeStartElement("LoginScopeHeader", headerNs);
writer.writeNameValueNode("organizationId", this.sessionId);
writer.writeEndElement("LoginScopeHeader", headerNs);
}
The third line of this block tries to write the sessionId as the value for the organizationId header. This is almost certainly a cut & paste oversight is it sits amongst several similar blocks for the other headers, and the one for sessionId directly precedes this one.
I believe that third line should read:
Code:
writer.writeNameValueNode("organizationId", this.organizationId);--Kevin
Message Edited by kshuk-canonical on 05-01-200708:42 AM
This will be fixed in the next release.
Thanks,