-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RollupServiceTestTrigger, RollupServiceTest4Trigger and RollupServiceTest5Trigger has not been deployed. #365
Comments
Thanks this is a bug. Though its not common to click Run All Tests like this in an org, managed package tests typically run in the original developer org and validate the package code is working. You can run only your "local" tests in your org and not packaged ones using this feature. |
Thanks for your reply! I will follow your advice and ignore the error. |
Andrew, is there a new version planned or any other way to eliminate & correct this error message ? Alternatively, we could deinstall the package but encountered some issues there. |
@Benudek yeah i can treat this as a bug and try to make the tests fail silently in production org. So in your case you need to do Run All Tests? And this will not help? What issues are preventing you uninstall btw? You have to remove the triggers first via Manage Child Triggers, but other than that you should be good. |
Test failing on production as Triggers not deployed with package like 1.RollupServiceTest5Trigger Causing production over all test below <20%. |
Hi @VirendraNaruka this should not be causing any code coverage issue at all. Code coverage is only counted for unmanaged code in your production code. Have you deployed the managed package version of the tool (via package installl link) or just deployed the code for the tool raw / unmanaged into your production org (via deploy to salesforce button)? |
Thanks Andrew for reply.
Actually installation goes well without any issue. its Managed Package .
but After installation if you run All test or try to deploy the change
set as default setting then Managed package test failed.
Its because Some of Test record created at Managed package but related
Trigger did not deployed with managed package.
I resolved some how but please try installation on dev org and then run all
test. you will reproduce the issue.
Thanks
…On Sat, Apr 15, 2017 at 10:02 AM, Andrew Fawcett ***@***.***> wrote:
Hi @VirendraNaruka <https://github.com/VirendraNaruka> this should not be
causing any code coverage issue at all. Code coverage is only counted for
unmanaged code in your production code. Have you deployed the managed
package version of the tool (via package installl link) or just deployed
the code for the tool raw / unmanaged into your production org (via deploy
to salesforce button)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#365 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACEWTAJxOhJsCOga_BJjwyl4rGtBjNv4ks5rwEhkgaJpZM4JcWsi>
.
|
Thanks 👍 |
Is there any time table for a fix for this issue? Love the product by the way! Thanks, |
v2.9 |
These errors have resurfaced and similarly, I am now having code coverage issues. I don't believe this managed package to be dragging down the % directly, but if functionality fails and causes my tests to not work, then it does have an impact. Thus, to make sure these are not issues propagating into our APEX code, or the functionality of other managed packages, these should be cleaned up before a release, please. I am on v2.11. |
@kappadragon are they the same errors as above? |
They were, but we have such extensive validation now that all managed
packages fail their test scripts in our production environment because they
don't succeed the tests.
Best Regards,
BENJAMIN FEAGIN JR., MSc, LC
…On Sat, Jun 23, 2018 at 9:27 PM Andrew Fawcett ***@***.***> wrote:
@kappadragon <https://github.com/kappadragon> are they the same errors as
above?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#365 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ag0CfVkDw4plYxTTgl2luB3PHqHtSTypks5t_xUcgaJpZM4JcWsi>
.
|
I got some errors when I tested apex classes by clicking the "Run All Tests" button. It seems that missing three triggers below are causing the errors. I looked into the Package components list but these three triggers were not listed in the components. Has anyone seen this issue?
I installed the latest version of the tool in my Developer edition and also in Sandbox from the links below.
https://login.salesforce.com/packaging/installPackage.apexp?p0=04tb0000000ka9e
https://test.salesforce.com/packaging/installPackage.apexp?p0=04tb0000000ka9e
error example:
Class: RollupServiceTest5
Method Name: testPolymorphicRelationshipsRealtime
Error Message: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Apex Trigger RollupServiceTest4Trigger has not been deployed. Click Manage Child Trigger and try again.: [dlrs__Active__c]
Class: RollupServiceTest6
Method Name: selfRollupDelete
Error Message: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Apex Trigger RollupServiceTestTrigger has not been deployed. Click Manage Child Trigger and try again.: [dlrs__Active__c]
Class: RollupServiceTest6
Method Name: testContactMergeAsChild
Error Message: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Apex Trigger RollupServiceTest5Trigger has not been deployed. Click Manage Child Trigger and try again.: [dlrs__Active__c]
Thank you in advance!
The text was updated successfully, but these errors were encountered: