Git Product home page Git Product logo

sfdc-lead-conversion-record-types's People

Contributors

douglascayers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sfdc-lead-conversion-record-types's Issues

Can not deploy the code

Deployment Started
Status: Queued
Status: InProgress
Status: InProgress
Status: InProgress
Status: Completed
Deployment Complete
Failures:
classes/LeadConversionTriggerHelper.cls(142,18):Variable does not exist: Account.sObjectType
classes/LeadConversionTriggerHelperTest.cls(38,60):Method does not exist or incorrect signature: Account.sObjectType.getDescribe()
triggers/LeadConversionTrigger.trigger(34,5):Variable does not exist: LeadConversionTriggerHelper

Deployment issue

Hello,

First of all thanks for your useful job.

I deployed it in my sandbox to test, it worked perfectly.

Then I tried to deploy it on my production environment (still using GitHub Salesforce Deploy Tool) but it fails:

Deployment CompleteTest failure, method: LeadConversionTriggerHelperTest.test_it_should_fail_when_missing_sobject_xref -- System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Account_Record_Type_Name__c, Contact_Record_Type_Name__c]: [Account_Record_Type_Name__c, Contact_Record_Type_Name__c] stack Class.LeadConversionTriggerHelperTest.test_it_should_fail_when_missing_sobject_xref: line 85, column 1

Test failure, method: LeadConversionTriggerHelperTest.test_it_should_update_sobject_record_types -- System.NullPointerException: Attempt to de-reference a null object stack Class.LeadConversionTriggerHelperTest.test_it_should_update_sobject_record_types: line 137, column 1

Code coverage issue -- Average test coverage across all Apex Classes and Triggers is 72%, at least 75% test coverage is required.

Thank you in advance for your help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.