Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo for childRelationships within describeSObjects method #13

Open
GoogleCodeExporter opened this issue Apr 12, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

Problem:
Typo in describeSObjects method causes the data['ChildRelationships'] key to 
return empty even when childRelationships exist.

I've confirmed that changing the case for childRelationships fixes the bug; 
will probably fork this project on Github to help for my future deployments.

Location:
Lines 138-140 within beatbox.python_client

Original code:
            rawreldata = r[_tPartnerNS.ChildRelationships:]
            relinfo = [_extractChildRelInfo(cr) for cr in rawreldata]
            d['ChildRelationships'] = relinfo


Fix:
            rawreldata = r[_tPartnerNS.childRelationships:]
            relinfo = [_extractChildRelInfo(cr) for cr in rawreldata]
            d['childRelationships'] = relinfo

Original issue reported on code.google.com by [email protected] on 2 Nov 2011 at 11:36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant