SAP Knowledge Base Article - Public

3214500 - Facilites with extra spaces can not be found

Symptom

When a facility record is created in LMS with multiple consecutive spaces in the words, only a single space is displayed in the LMS UI.

For example 'Hello     World' becomes displayed as 'Hello World'

However when searching for the record in can only be found by searching 'Hello     World'

Cause

The extra whitespaces between the words in the ID is being trimmed out, while displaying it, is the browser's default behavior. For example:

<span>Hello     World</span>

When rendered in the browser it will be Hello World (without any extra spaces). The way to avoid default trimming out extra whitespaces is adding a tag <pre>. Something like this:

<pre><span>Hello     World</span></pre>

This behavior occurs for not only Facility but for other search selector as well. For example-  User, Curriculum, Organization.

This is the browsers' default behavior. 

Resolution

The recommendation is to avoid adding extra spaces between the words in the ID.

Keywords

KBA , LOD-SF-LMS , Learning Management System , How To

Product

SAP SuccessFactors Learning 2205