-
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
Should not need to mark Active to do a manual Calculation #359
Comments
I believe changing line 101 of RollupService.cls to:
could work, and am working on testing |
Oooh thanks @JimBTek , look forward to hearing more for this! 👍 |
OK so along with the Above code if I change in RollupServiceTest3.cls Then the tests pass and it does indeed work properly on a scheduled mode Rollup. I am guessing I could be breaking something else? @afawcett is there anything else I should check before submitting a pull request? I plan on testing a Realtime rollup and make sure it works and i did not break it. |
This looks ok, so i guess what we are saying here is if its realtime, it has to be active, since if you run the job and then don't activate for a few hours things will be out of sync. However if your in scheduled or other modes your already accepting that lag. So yes, i think your code change makes technical and logical sense... 👍 |
yeah, or the other route is to set it to active without requiring the I'll send a pull request Best, Jim Bartek On Wed, Aug 3, 2016 at 2:39 PM, Andrew Fawcett [email protected]
|
pull request: #369 |
Fixed in v2.5. |
If you have a rollup set to Calculate Mode: Scheduled you cannot use the Calculate button to test and calculate immediately unless the Active checkbox is set to True which forces you to deploy Triggers.
However I have tested you can deploy the Triggers, Activated the Rollup, then delete/remove the Triggers and do a manual Calculate and it works correctly.
I believe the fix is to change the error/warning to not block doing a manual Calculate if Active is not True.
The text was updated successfully, but these errors were encountered: