Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

% (Prozent) - Zeichen im Wertebereich von Text-SysVars macht diese "unbearbeitbar" #1925

Closed
Baxxy13 opened this issue Sep 4, 2022 · 4 comments · Fixed by #1932
Closed

% (Prozent) - Zeichen im Wertebereich von Text-SysVars macht diese "unbearbeitbar" #1925

Baxxy13 opened this issue Sep 4, 2022 · 4 comments · Fixed by #1932
Labels
🐛 bug-report Something isn't working 🏷️ WebUI This refs the WebUI component

Comments

@Baxxy13
Copy link
Contributor

Baxxy13 commented Sep 4, 2022

Describe the issue you are experiencing

Das Schreiben eines % - Zeichens in eine Text-SysVar führt dazu das diese nicht mehr "bearbeitbar" ist.

Describe the behavior you expected

% - Zeichen in Text-SysVars sollten keine Probleme verursachen.

Steps to reproduce the issue

  1. Text-SysVar anlegen "SV_Text"
  2. % - Zeichen per WebUI-Programm oder Script als Wert in die SysVar schreiben
  3. die SysVar bearbeiten, z.B. versuchen den Wert zu ändern oder umzubenennen
    ...

What is the version this bug report is based on?

3.65.8.20220831

Which base platform are you running?

rpi3 (RaspberryPi3)

Which HomeMatic/homematicIP radio module are you using?

RPI-RF-MOD

Anything in the logs that might be useful for us?

Browser-Konsolen-Log beim Bearbeiten der SysVar:

prototype.js:603 Uncaught URIError: URI malformed
    at decodeURIComponent (<anonymous>)
    at loadChar8859Edit (eval at <anonymous> (prototype.js:399:64), <anonymous>:287:54)
    at eval (eval at <anonymous> (prototype.js:399:64), <anonymous>:293:68)
    at prototype.js:399:64
    at prototype.js:640:20
    at prototype.js:600:9
    at Array.forEach (<anonymous>)
    at Array.each (prototype.js:599:12)
    at Array.collect (prototype.js:639:10)
    at String.evalScripts (prototype.js:399:34)

Additional information

No response

@Baxxy13 Baxxy13 added the 🐛 bug-report Something isn't working label Sep 4, 2022
@jp112sdl
Copy link
Contributor

jp112sdl commented Sep 4, 2022

decodeURIComponent hat wohl ein Problem mit dem Prozentzeichen?

Mit dem Workaround von:
https://stackoverflow.com/questions/7449588/why-does-decodeuricomponent-lock-up-my-browser
geht es zumindest.

@MichaelN0815
Copy link
Contributor

In der 3.63.9.20220625 war der Fehler auch schon drin, falls das weiter hilft.

@Baxxy13
Copy link
Contributor Author

Baxxy13 commented Sep 12, 2022

Der Fix steht ja dank Jérôme schon bereit, es muss ihn bloß jemand einbauen. ;-)

@MichaelN0815
Copy link
Contributor

Habe ich glatt übersehen ;-)

@jens-maus jens-maus linked a pull request Sep 14, 2022 that will close this issue
7 tasks
jens-maus pushed a commit that referenced this issue Sep 14, 2022
…plain % char could not be used in system variable texts (#1925, #1932, @jp112sdl)
@jens-maus jens-maus added this to the next release milestone Sep 14, 2022
@jens-maus jens-maus added the 🏷️ WebUI This refs the WebUI component label Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug-report Something isn't working 🏷️ WebUI This refs the WebUI component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants