2

When we are trying to deploy a test class, We are seeing the following error on many test classes

duplicate value found <unknown> duplicates value on record with id: <unknown> 

Everything else is deployed without any issues. This test class alone is causing problems for us.

We are facing issue with this test class alone. We have gone through below solution. But, we couldn't find any history tracking on the objects the insertions are failing.

Object Deploy fails with: "duplicate value found: <unknown> duplicates value on record with id"

Please let us know if you need more info.

2
  • The issue is fixed now. The errors are completely misleading. In test class we found that a an update statement is violating unique constraint.
    – Pradeep
    Commented Aug 28, 2013 at 7:20
  • 1
    It would be great if you posted your answer below and marked it as the correct answer. This is good information. Thanks!
    – pchittum
    Commented Aug 28, 2013 at 8:10

1 Answer 1

1

The issue is fixed now. The errors are completely misleading. In test class we found that a an update statement is violating unique constraint

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .