johvargas / sfdc-wsc

Automatically exported from code.google.com/p/sfdc-wsc
0 stars 0 forks source link

describeLayout not working for some object type #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

This only happen to some objects, the object that fails for me is 
"ContentVersion".

1. run connection.describeLayout("ContentVersion", null).
2. It throws a ConnectionException with the error: 

com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting 
element 'urn:partner.soap.sforce.com:layouts' but found 
'urn:partner.soap.sforce.com:recordTypeMappings' : Unexpected element. Parser 
was expecting element 'urn:partner.soap.sforce.com:layouts' but found 
'urn:partner.soap.sforce.com:recordTypeMappings'

What is the expected output? What do you see instead?

It should return a DescribeLayoutResult object.

What version of the product are you using? On what operating system?

wsc-22, wsc-gae, app engine 1.5.2.

Original issue reported on code.google.com by qi...@jbbmobile.com on 11 Aug 2011 at 12:03