Skip to content

[bug]: Umlaut (öäü etc.) in binding doesnt work #590

@pandorra2

Description

@pandorra2

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

hi,

when using objects name's containing one or more umlauts the binding doesn't work:

{a:alias.0.Küche_Decke; b:alias.0.Küche_Decke; c:alias.0.Küche_Decke; a|b|c == true ? '../vis-2/img/bulbOn.png' :: '../vis-2/img/bulbOff.png'}
-> just shows "0"

{a:alias.0.Kueche_Decke; b:alias.0.Kueche_Decke; c:alias.0.Kueche_Decke; a|b|c == true ? '../vis-2/img/bulbOn.png' :: '../vis-2/img/bulbOff.png'}
-> shows the according .png

(no error message or such)

To Reproduce

[ { "tpl": "tplJquiIconDialog", "data": { "bindings": [], "buttontext": "", "g_common": true, "html": "", "padding": 0, "g_style": true, "variant": "standard", "color": "", "visResizable": true, "imageHeight": 98, "g_icon": true, "html_dialog": "", "g_dialog": true, "modal": true, "dialogName": "Umlaut Test", "externalDialog": false, "contains_view": "sub_Umlaut Test", "src": "{a:alias.0.Küche_Decke; b:alias.0.Küche_Decke; c:alias.0.Küche_Decke; a|b|c == true ? '../vis-2/img/bulbOn.png' :: '../vis-2/img/bulbOff.png'}", "title": "", "dialog_width": "400", "dialog_height": "500", "overflowX": "auto", "g_css_border": true }, "style": { "bindings": [], "left": 778, "top": 570, "width": "100", "height": "100", "z-index": "2", "border-style": "solid" }, "widgetSet": "jqui", "_id": "i000001" } ]

Expected behavior

umlaute shouldn't break the function/binding

Screenshots & Logfiles

Image Image

Page or affected widget

Adapter version

9.0.18

js-controller version

7.1.0

Node version

v22.22.0

Operating system

debian

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions