I am in the process of converting an existing Managed Package to Salesforce DX and
- Retrieved the Metadata from the packaging org
- Converted it to Source format
- Created a scratch org and
- pushed source to scratch org
The last step fails with hundreds of errors which all come from it not finding a Custom Field on a packaged Custom Object.
No such column 'customField__c' on entity 'NAMESPACE__CustomObject__c'.
The Metadata is there and I checked ALL the errors and nothing else is there.
I am also successful to do a
mdapi:deploy to the same scratch org. It works without andy problems. But the problem persists. When I pull from the org and push it into another scratch I again see the same error.