SAP Knowledge Base Article - Public

3656489 - Error when trying to assign Task Observers for Item with quotation mark in ID

Symptom

When an admin tries to assign task observers to an user, the system shows error: "Error: incorrect syntax" if the item has a quotation mark in the ID

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Create an item type "Other" with ID containing a quotation mark>
  2. Add a task checklists >
  3. On Manage User Learning > Assign Task Observers >
  4. Add item >
  5. Assign Task Observers: searching with the filter “Users are authorized instructors” turned on, results in an error message >
  6. When searching with the filter “Users are authorized instructors” turned off, does not result in an error message. But the next step of choosing a user for which the item (checklist) was assigned is resulting in an error message. >

 

 

Cause

Task checklist observer search selector (TaskChecklistObserverSelectorContext.java) is not handling the single quotation when using the ID directly in the query

Resolution

The Engineering team has developed a code fix for the reported scenario that is targeted to be delivered in the next learning release of 2511.

The 2H 2025 / 2511 Learning Release schedule dates can be checked in the Product Release & Road Map Information page.

Keywords

LRN-200174, KI, checklist, quotation, item, id, assign, observer, incorrect, syntax, near , KBA , LOD-SF-LMS-ITE , Items , Problem

Product

SAP SuccessFactors Learning 2505