Un-Resulting with a Validation Rule on Appointment: Now when a validation rule is in place to prevent specific users from "un-resulting", an exception is not thrown when trying to save the appointment. The functionality was still deleting appointment's related records like Sale and Projects even though the validation rule was in place. The "Un-resulting" enhancement doesn't delete the related appointment records if there is any error that happens during the process.
Max view state size limit exceeded bug: This bug occurred on the Staff Calendar page when the page/calendar is trying to load too much information.
- To resolve this issue, we have implemented pagination (a design pattern that divides a large number of records or a complete document into separate pages for viewing) on the Staff Calendar to improve performance and prevent issues caused by handling or loading large amounts of data.
- New Custom Setting(Public System Settings) called, "Enable Pagination On Staff Calendar" has been created allowing you to turn pagination on.
- Functionality: When custom setting is enabled, this setting activates pagination on both the Full Calendar and Scheduling Calendar views. Staff entries are distributed across multiple pages, reducing the load and preventing visualforce page overloads.
- Default Behavior: If this setting is disabled, the Staff Calendar will operate without pagination, maintaining its regular behavior.