-
Notifications
You must be signed in to change notification settings - Fork 1
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
Exported object files are empty .. except for one #3
Comments
Sorry for the delay, just returned from holiday. Thanks for reporting this. Can you share the metadata for the Sobjects? This wold be helpful for me to debug the issue. |
I've tried to duplicate the issue and could not. I used the metadata and data at https://github.com/dcarroll/dreamhouse-with-tickets to test. |
Attached is the MDAPI format metadata for those 4 objects. They contain Lookup references to other custom SObjects in the same (and in some cases) other namespaces so if you need those, I can provide a more complete schema -- I'd prefer to send those over via email vs. posting them on GH Also, I can grant login access to this org if you care to poke and prod it directly Thanks! |
Hey @daveespo . I've just done a major update that should take care of this. Although, I will caveat that I am not sure what namespacing will do to the process. My email address is easily discoverable, almost every preso I've ever done for salesforce has my email on the title slide, as is my twitter handle if you want a more private forum to work through this. I'll see if I can install the objects in the test org that I mentioned above. I think one difference between my test org and the metadata that you provided is Master-Detail vs. Lookup. Your metadata should be a good test case for me to handle Master-Detail. Cheers. |
Yes, great progress forward here. I now have all of the files populated but I am indeed running afoul of problems including locally defined custom fields on managed package custom objects. (i.e. if pkg1 defines PaymentTransaction__c and my local project adds a custom fields to that object, it's not included in the export files) Similarly, Lookups to Standard objects (Account/Contact) are not included in the dumped fields. I'll send you email with the whole MDAPI project |
I have a hierarchy of objects in my Developer Edition org (I'm not using a scratch org right now)
Starting simply, the schema is:
I ran the following command
I'm attaching the content of the export2 directory -- don't worry, this is all bogus test data
Note that only TicketableEvent__c is populated with records. The other 3 child/grandchild/great-grandchildren are empty
Also note that TicketableEvent__c.json only has about 10 fields for each record -- the SOBject has dozens of fields.
I'm running the live copy of this plugin (sfdx plugins:link) right off master
How can I help further debug this?
empty.exports.zip
The text was updated successfully, but these errors were encountered: