Release date: 17th of July
New Salesforce Best practices #
New rule for Salesforce (SF-AVOID-USERINFO-GETSESSIONID)
Description:
This best practice aims to enhance security by preventing the exposure of security-sensitive information.
Bug fixes #
1. Filtered issues in New Debt Manager works correctly
Bug explanation:
When a user created a pinned view in the New Debt Manager, logged out, and then logged back in, the issues were not immediately filtered correctly according to the saved criteria. The system showed all issues instead of the filtered ones.
Solution:
Now, the filtering functionality for pinned views is properly implemented so that when a user logs out and logs back in, the views display the correctly filtered issues as per the saved criteria. Additionally, switching to a different view and back to the original view will no longer be necessary to refresh the data.
2. Link to the Configuration Element on ‘Roles assigned to an invalid user’ rule.
Bug explanation
The link to the configuration element in the rule ‘Roles assigned to an invalid user’ led to sys_user_role table.
Solution:
By changing the link of the issue to sys_user_has_role table where the records exist.
3. Possible false positive issue from ‘Avoid duplicate queueable jobs’ rule.
False positives on the rule in inner Apex classes were detected.
Solution:
The rule works properly with Inner classes.