function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KevinsanKevinsan 

approval page error

I made an approval process, when I open the approval page using manage user, there was an error occured, see detail below:
Uncaught Error in $A.getCallback() [Cannot read property 'Name' of undefined]
Callback failed: serviceComponent://ui.approval.process.components.controllers.CommentsCardController/ACTION$getComments
throws at https://linecorporation--stage.lightning.force.com/auraFW/javascript/2xSDXSNTbpIkKqySFG1xSw/aura_prod.js:34:15. Caused by: Error in $A.getCallback() [Cannot read property 'Name' of undefined]
Callback failed: serviceComponent://ui.approval.process.components.controllers.CommentsCardController/ACTION$getComments
Object.getStepComment()@https://linecorporation--stage.lightning.force.com/components/runtime_approval_process/commentsCard.js:3:409
Object.eval()@https://linecorporation--stage.lightning.force.com/components/runtime_approval_process/commentsCard.js:3:82
I didn't write any code for this. And the approval page runs well on application user and administrator user.
what's the reason for this?
Thanks.
Best Answer chosen by Kevinsan
KevinsanKevinsan
I found this as a "Known issues"
https://success.salesforce.com/issues_view?id=a1p3A000000nyNcQAI&title=error-message-sorry-to-interrupt-appears-when-opening-an-approval-history
This issue occurs in Lightning Experience only when sharing setting is configured as below. 
User object: Private 
Community User Visibility: OFF (No-Checked) 

All Answers

Raj VakatiRaj Vakati
Can you share the complete controller and component 
KevinsanKevinsan
Thank you Raj. I just set an approval process with no code.
KevinsanKevinsan
I found this as a "Known issues"
https://success.salesforce.com/issues_view?id=a1p3A000000nyNcQAI&title=error-message-sorry-to-interrupt-appears-when-opening-an-approval-history
This issue occurs in Lightning Experience only when sharing setting is configured as below. 
User object: Private 
Community User Visibility: OFF (No-Checked) 
This was selected as the best answer