A base system ACL removes email messages from the sys_email table.
Steps to Reproduce
- Log into an instance as the system administrator.
- Go into System Mailboxes > Outbound > Sent. Not all email records are shown.
Add an OR condition in line 4 of the ACL sys_email.read:
if (current.target_table.nil() || current.target_table == 'sys_email')
This resolves the looping and all email messages are displayed.
Related Problem: PRB585840