kevinohara80/dmc

TableEnumOrId error when creating Trigger (tooling api)

Opened this issue · 0 comments

Currently when doing a dmc deploy of a new trigger, you receive a TableEnumOrId missing field error. This is a tooling api issue because the deploy works fine with the --meta flag. This happens during the stub file creation step.

Logs:

λ: dmc deploy
[dmc] using org: dev22 (default)
[dmc] searching for local metadata
[dmc] deploying 1 metadata files
[dmc] deploy mode: dynamic
[dmc] deploy api: tooling
[dmc] loading related metadata ids
[dmc] sfdc token refresh
[dmc] loaded 0 ids
[dmc] creating stub files
[dmc] [create] ApexTrigger::OpportunityTeamSync
[err] Missing field [TableEnumOrId] on trigger create
[err] unable to create stub files
[dmc] [NOT OK]