When deploying the trigger to enable runtime on a rollup in production I get a deployment error due to a test failure:
System.DmlException: Upsert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Launch_Year__c]: [Launch_Year__c]
Stack Trace: Class.rh2.ParentUtil.UpsertRollupTestRecords: line 204, column 1 Class.RHX_TEST_SNTY_Forecasts_and_Actuals.RHX_Testmethod: line 11, column 1
This class that is failing is generated by RH. I had no problems in sandbox because the tests aren't run there. What's the suggested approach?
Hello Javier,
I appreciate the link, I did follow up by marking you as interested in the enhancement to run only tests for the deployed trigger, which our team is still working on implementing. I did miss your suggestion to add those troubleshooting steps to our admin guide.
I will submit a request for that now, thanks for bringing it up!