• GauravGathania
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi,
I am trying to migrate a set of Scontrols and some custom fields from Qa/Dev/Sandbox to Production using  salesforce Ant(Migration Tool).
I am able to retrieve the content from QA Environment successfully.But I am not able to deploy it to Production.
Deployment to Dev and Sandbox from QA is happening perfectly.
I am facing following run time error while I try the same steps for Production:

C:\salesforce_ant\sample>ant deployUnpackaged
Buildfile: build.xml

deployUnpackaged:

BUILD FAILED
C:\salesforce_ant\sample\build.xml:25: Failures:
Test failure, method: testClass.test -- System.DmlException: Update failed. Firs t exception on row 0 with id a0R400000005mpPEAQ; first error: ENTITY_IS_DELETED,  entity is deleted stack Class.testClass.test: line 6, column 1

Code coverage issue, class: tocAgreementAfterUpdate -- Test coverage of selected  Apex Trigger is 0%, at least 1% test coverage is required Code coverage issue, class: tocOportunityAfterUpdate -- Test coverage of selecte d Apex Trigger is 0%, at least 1% test coverage is required Code coverage issue, class: trmAccountBeforeUpdate -- Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required Code coverage issue -- Average test coverage across all Apex Classes and Trigger s is 0%, at least 75% test coverage is required







Message Edited by GauravGathania on 08-23-2008 12:51 AM
Hi,
I am trying to migrate a set of Scontrols and some custom fields from Qa/Dev/Sandbox to Production using  salesforce Ant(Migration Tool).
I am able to retrieve the content from QA Environment successfully.But I am not able to deploy it to Production.
Deployment to Dev and Sandbox from QA is happening perfectly.
I am facing following run time error while I try the same steps for Production:

C:\salesforce_ant\sample>ant deployUnpackaged
Buildfile: build.xml

deployUnpackaged:

BUILD FAILED
C:\salesforce_ant\sample\build.xml:25: Failures:
Test failure, method: testClass.test -- System.DmlException: Update failed. Firs t exception on row 0 with id a0R400000005mpPEAQ; first error: ENTITY_IS_DELETED,  entity is deleted stack Class.testClass.test: line 6, column 1

Code coverage issue, class: tocAgreementAfterUpdate -- Test coverage of selected  Apex Trigger is 0%, at least 1% test coverage is required Code coverage issue, class: tocOportunityAfterUpdate -- Test coverage of selecte d Apex Trigger is 0%, at least 1% test coverage is required Code coverage issue, class: trmAccountBeforeUpdate -- Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required Code coverage issue -- Average test coverage across all Apex Classes and Trigger s is 0%, at least 75% test coverage is required







Message Edited by GauravGathania on 08-23-2008 12:51 AM