Pending Review
Last Updated: 22 May 2026 20:34 by mahicol
mahicol
Created on: 22 May 2026 20:34
Category: Reporting
Type: Bug Report
0
Web Report Designer: WebServiceDataSource authentication selector broken when using non-English string resources

greetings

Summary

When the Web Report Designer is initialized with non-English string resources (via window.telerikWebDesignerResources), the authentication type selector in the Web Service Data Source wizard behaves incorrectly. Even though "Sin autenticación" (the translated value of WebServiceDataSourceNoAuthentication) is visually selected in the dropdown, the wizard behaves as if a different authentication type is selected — displaying additional required credential fields and blocking progression.

The issue does not occur when using English string resources (WebServiceDataSourceNoAuthentication = "No authentication").

---
Steps to Reproduce

1. Configure a Blazor Web Report Designer with Spanish (es-CO) custom string resources using window.telerikWebDesignerResources:

// WebReportDesignerStrings.es-CO.js
export class WebReportDesignerStringsBase {
    constructor() {
        // ...
        this.WebServiceDataSourceNoAuthentication = "Sin autenticación";
        // ...
    }
}

// Load resources before designer renders
window.telerikWebDesignerResources = new WebReportDesignerStringsBase();

2. Open the Web Report Designer in the browser with the Spanish resources active.
3. Add a new Web Service Data Source.
4. In the wizard URL step, observe the authentication selector — it shows "Sin autenticación" as the selected option.
5. Attempt to proceed through the wizard.

---
Expected Behavior

With "Sin autenticación" selected (equivalent to "No authentication"), the wizard should:
- Require only the Service URL field
- Not display credential input panels
- Allow proceeding to the next step without authentication configuration

---
Actual Behavior

Despite "Sin autenticación" being visually selected, the wizard behaves as if a different authentication type (Basic or 2-step) is selected:
- Additional authentication configuration panels appear or are required
- The wizard blocks progression expecting credential inputs
- The behavior is identical to what occurs when "Basic" or "2-step" is selected

---
Root Cause Analysis

The designer's compiled JavaScript (webReportDesigner) appears to compare the selected authentication type against the English string "No authentication" internally, rather than against a stable enum or index value. When the display text is "Sin autenticación", this comparison fails and the wizard falls through to a non-"no auth" code path.

Evidence: applying the temporary workaround of keeping WebServiceDataSourceNoAuthentication = "No authentication" (English text) in the es-CO resources file resolves the issue completely — the wizard functions correctly while all other strings remain in Spanish.

---
Workaround

In the non-English string resources file, keep WebServiceDataSourceNoAuthentication in English:

// workaround: keep English value until Telerik fixes internal comparison
this.WebServiceDataSourceNoAuthentication = "No authentication";

---
Minimal Reproduction

@* ReportEditor.razor *@
@page "/reportEditor"
@using Telerik.WebReportDesigner.Blazor

<WebReportDesigner DesignerId="wrd1"
                   ServiceUrl="apiReport/reportdesigner" />

// Loaded before designer renders via IJSRuntime.InvokeVoidAsync
window.telerikWebDesignerResources = {
    WebServiceDataSourceNoAuthentication: "Sin autenticación",
    // ... other keys
};


---
Additional Notes

- Both es-CO and en-US string resource files contain 971 keys each — the issue is not caused by missing keys.
- The designer correctly picks up the localized strings for all other UI elements; the bug is isolated to the authentication dropdown value comparison logic.
- Confirmed on version 19.1.25.521; not tested on earlier versions.

 

thank for your attention.

have a nice day.

0 comments