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
683 stars 235 forks source link

Schedule Wizard: Should display error and prevent saving for bad Custom configurations #1466

Closed aheber closed 1 month ago

aheber commented 1 month ago

Describe the bug Schedule wizard has poor behavior and swallows errors if you use custom schedule to remove all values. It allow doesn't display an error if there was an issue adding scheduled instances of the class, such as if the org had already reached the 100 job limit and we tried to add more records.

To Reproduce Remove all Days or Hours in the Custom schedule builder and try and use the Schedule button.

If you fill the 100 Scheduled record limit and try to add at least one more record.

Expected behavior An error should be displayed and known bad actions should be disallowed, such as using the Schedule button when no valid Cron Strings can be generated.