SFDO-Community / declarative-lookup-rollup-summaries

Declarative Lookup Rollup Summaries (DLRS) is a community built and maintained Salesforce application that allows you to create cross object roll-ups declaratively - no code! For install instructions and documentation, visit our website https://sfdo-community-sprints.github.io/DLRS-Documentation/
https://sfdo-community-sprints.github.io/DLRS-Documentation/
BSD 3-Clause "New" or "Revised" License
689 stars 235 forks source link

Error When Trying To Deploy Child Trigger #45

Closed djsuite closed 10 years ago

djsuite commented 10 years ago

I am receiving the following error when trying to Deploy the Child Trigger for my first roll up!

Please help!

Shawn

Error: TestUtlities.UtilitiesTestMethod Could not resolve the entity from value binding '{!svcrpt.formula_techLocalTime__c}'. can only be used with SObjects, or objects that are Visualforce field component resolvable. null

afawcett commented 10 years ago

Salesforce requires that all apex tests in your org pass when deploying new code, even though the trigger and test code generated by this tool is valid, if any of the existing test code in your org fails it will also fail to deploy the trigger the tool requires. You need to find the developer of TestUtilites and ask them to fix the test failure. You can see then same error if you go to Setup then Develop then Apex Classes and Run all Tests. Or find the class itself and selectively run the tears for that. Bottom line is you need to find the developer that wrote the failing test.

djsuite commented 10 years ago

Thank you for your quick reply. This is working in our sandbox environment, do the tests not run there?

djsuite commented 10 years ago

Also just an update the testutilities test passed when ran

afawcett commented 10 years ago

That's correct. You will get the same error if you deploy via Change Set as well. Production deployments need tests to run I am afraid.

afawcett commented 10 years ago

Did the test run in production?

djsuite commented 10 years ago

Yes the test passed in production for testutilities DO I need to add the field in the error?

Shawn

[cert_program_rgb] [sf_cert_adm_rgb] [EmailSignatureBanner_Video]http://www.avispl.com/about-us/our-story/ Connect with us: Facebookhttp://www.facebook.com/avispl/ Twitterhttp://twitter.com/avisplinfo Linkedinhttp://www.linkedin.com/company/avi-spl YouTubehttp://www.youtube.com/avisplinfo Bloghttp://blog.avispl.com/ Pinteresthttp://pinterest.com/avispl/

From: Andrew Fawcett [mailto:notifications@github.com] Sent: Thursday, June 19, 2014 4:55 PM To: afawcett/declarative-lookup-rollup-summaries Cc: Shawn Reichner Subject: Re: [declarative-lookup-rollup-summaries] Error When Trying To Deploy Child Trigger (#45)

Did the test run in production?

— Reply to this email directly or view it on GitHubhttps://github.com/afawcett/declarative-lookup-rollup-summaries/issues/45#issuecomment-46615361.

afawcett commented 10 years ago

That is odd, yes certainly worth a try. Can you attach screenshot?

afawcett commented 10 years ago

I'll close this issue out, please ping me back if you want to resume working on this.

djsuite commented 10 years ago

Andrew,

Thank you for the help, we ended up getting a 3rd party team involved which got the child triggers to install correctly.

Then after installing correctly we had some other issues, but all has been resolved and is now working as intended.

Thank you again for your follow up

Shawn

Shawn Reichner Platform Engineer, Salesforce AVI-SPL [cert_program_rgb] [sf_cert_adm_rgb] [EmailSignatureBanner_Video]http://www.avispl.com/about-us/our-story/ Connect with us: Facebookhttp://www.facebook.com/avispl/ Twitterhttp://twitter.com/avisplinfo Linkedinhttp://www.linkedin.com/company/avi-spl YouTubehttp://www.youtube.com/avisplinfo Bloghttp://blog.avispl.com/ Pinteresthttp://pinterest.com/avispl/

From: Andrew Fawcett [mailto:notifications@github.com] Sent: Tuesday, July 08, 2014 1:28 PM To: afawcett/declarative-lookup-rollup-summaries Cc: Shawn Reichner Subject: Re: [declarative-lookup-rollup-summaries] Error When Trying To Deploy Child Trigger (#45)

Closed #45https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/45.

— Reply to this email directly or view it on GitHubhttps://github.com/afawcett/declarative-lookup-rollup-summaries/issues/45#event-139349097.