You need to sign in to do that
Don't have an account?
AltiumForce
AJAX 8.0 error: Attribute "xmlns" was already specified for element...
I am getting the error below when calling salefsforce.connection.query:
faultcode:'soapenv:Client', faultstring:'Attribute "xmlns" bound to namespaces "http://www.w3.org/2000/xmlns/" was already specified for element "query"'
Code is simple:Code:
It seems the same namespace prefix was added twice, and it is done inside connection.js.
This does not happen to all s-controls, I tried but couldn't find the pattern.
Anyone has a clue? Thanks!
faultcode:'soapenv:Client', faultstring:'Attribute "xmlns" bound to namespaces "http://www.w3.org/2000/xmlns/" was already specified for element "query"'
Code is simple:Code:
try { var oppRes = sforce.connection.query("SELECT id,Name, Pricebook2Id FROM opportunity WHERE id = '{!SFDC_520_Quote_Opportunity_ID}'"); } catch(error) { alert('Error: ' = error) ; }
It seems the same namespace prefix was added twice, and it is done inside connection.js.
This does not happen to all s-controls, I tried but couldn't find the pattern.
Anyone has a clue? Thanks!
If you have prototype custom methods in your code, this error occurs.
Does anyone know why?
I will file a bug.