forcedotcom / quiz-host-app

Multiplayer quiz app built on Salesforce technology (host app)
Creative Commons Zero v1.0 Universal
108 stars 67 forks source link

Install script fails on import data #19

Closed annyhe closed 5 years ago

annyhe commented 5 years ago

On running sfdx force:data:tree:import -p data/Quiz_Question__c-Quiz_Session__c-Quiz_Session_Question__c-plan.json -u $ORG_ALIAS && \ Got error

=== Quiz_Session_Question__cRef1 [1]
STATUSCODE    MESSAGE                                                    FIELDS
────────────  ─────────────────────────────────────────────────────────  ──────────
MALFORMED_ID  Session: id value of incorrect type: @Quiz_Session__cRef1  Session__c
=== Quiz_Session_Question__cRef2 [1]
STATUSCODE    MESSAGE                                                    FIELDS
────────────  ─────────────────────────────────────────────────────────  ──────────
MALFORMED_ID  Session: id value of incorrect type: @Quiz_Session__cRef1  Session__c
=== Quiz_Session_Question__cRef3 [1]
STATUSCODE    MESSAGE                                                    FIELDS
────────────  ─────────────────────────────────────────────────────────  ──────────
MALFORMED_ID  Session: id value of incorrect type: @Quiz_Session__cRef1  Session__c
ERROR running force:data:tree:import:  

Apparently even resolveRefs: true does not fix the problem. How to fix it @pozil ?