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 has finalized their work on the situation and the fix is targeted to be delivered with the 2505 system version. Please, set this KBA as a favorite (star icon on the top right corner) to receive updates on it. Additional details are available in the following link: Product Release & Road Map Information.
Check the KBA 2171560 to understand how to get notified when a KBA is created/updated.
Workaround: Create/Use documents (materials) without special characters in the IDs.
Keywords
document, material, display, show, number, count, list, AriaLabelHelper.ts:55, querySelector, valid, selector, user, link, not, LRN-189605, KI2411 , 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 , Known Error