Symptom
- Even though the documents (materials) count is correct, not all of them are displayed for the Learning user.
- Not all documents (materials) are displayed for the Learning user. When looking at the browser's console area, "AriaLabelHelper.ts:55 Uncaught (in promise) SyntaxError: Failed to execute 'querySelector' on 'Document': '[id='TEXT']' is not a valid selector." is seen.
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Learning Administration side > Learning Activities > Items > Search and access the desired one >
- "Document Links" area > Add the desired documents/materials >
- Assign the course to a user >
- Learning User side > When the user who had the course assigned access it, the documents (materials) count is correct >
- However, not all of them are displayed for the Learning user.
Cause
As it stands, this is related to an invalid selector (character) that's part of the document (material) ID. The invalid selector can be seen in the browser's console logs.
Resolution
Our Learning Engineering team is currently investigating this situation. Please, set this KBA as a favorite (star icon on the top right corner) to receive updates on it.
Check the KBA 2171560 to understand how to get notified when a KBA is created/updated.
Keywords
document, material, display, show, number, count, list, AriaLabelHelper.ts:55, querySelector, valid, selector, user, link, not , KBA , LOD-SF-LMS-ITE , Items , LOD-SF-LMS-CHM , Course Home , LOD-SF-LMS-USR , User Entity , LOD-SF-LMS-CNT , Content , LOD-SF-LMS , Learning Management System , Bug Filed