Skip to content
New issue

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

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

Already on GitHub? # to your account

duplicate id error #24

Open
kevinohara80 opened this issue Jan 24, 2016 · 0 comments
Open

duplicate id error #24

kevinohara80 opened this issue Jan 24, 2016 · 0 comments
Labels

Comments

@kevinohara80
Copy link
Owner

I have an existing test class called MyExt_Test.cls. When watching with dmc watch, the tooling api attempts to deploy this file but it fails to match it's id and throws a duplicates value on record error.

This issue doesn't happen if you watch while forcing the deploy with the metadata api (i.e. dmc watch --meta)

[dmc] using org: asdev36 (default)
[dmc] now watching 1016 files
[dmc] file changed: src/classes/MyExt_Test.cls
[dmc] searching for local metadata
[dmc] deploying 1 metadata files
[dmc] deploy mode: dynamic
[dmc] deploy api: tooling
[dmc] loading related metadata ids
[dmc] loaded 0 ids
[dmc] creating stub files
[dmc] [create] ApexClass::MyExt_Test
[err] duplicate value found: <unknown> duplicates value on record with id: <unknown>
[err] deploy failed: re-watching files
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant