question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'replaceAll() not defined' in slightly aged browsers

See original GitHub issue

Describe the bug Beim Anlegen einer neuen Systemvariablen in

>>>  Startseite > Einstellungen > Systemvariablen > "Neu"    

wird ausschliesslich bei Auswahl “Typ=Zeichenkette” keine Aktion auf “OK” ausgefuehrt und damit auch die Systemvariable nicht angelegt.

Steps to reproduce the behavior

  1. neue Systemvariable anlegen: Startseite > Einstellungen > Systemvariablen > “Neu”
  2. beliebigen Namen und Typ=Zeichenkette auswaehlen
  3. “OK” button klicken

Expected behavior Systemvariable wird angelegt, requester schliesst

Screenshots lvELn7S

System information:

  • RaspberryMatic Version: 3.55.10.20210213
  • Used Hardware: CCU3
  • Used HomeMatic RF-Module: CCU3

Additional context RPimatic “neuling”, CCU3->diese firmware fand vor wenigen tagen statt. Ich kann weder ausschliessen dass bei der migration etwas schief lief, noch dass im verwendeten browser ein bug sein koennte

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
theimo1221commented, Feb 25, 2021

Werde ich mir später mal anschauen, an sich bin ich in dem Patch teilweise eher auf Standard JS zurückgegangen, könnte mir spontan nur vorstellen, dass da wegen der ?? Notation gemeckert wird.

0reactions
theimo1221commented, Feb 25, 2021

Jo, ist die ?? Notation. Ich hoffe ich komme dazu das gleich noch zu ändern. Sind in der Firma gerade ordentlich am Gas geben 😄

Super. Wäre in der Tat schön wenn du das noch flott reparieren könntest oder einfach kurz nen diff hier postest und dann integriere ich das schnell noch für die nächsten nightly snapshot.

Siehe #1151

Ich hoffe ich komme die Tage noch zu der ProofAndSetValue Thematik habe dafür hier auch schon vorbereiteten Code liegen, werde aber vermutlich erst Samstag dazu kommen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Javascript .replaceAll() is not a function type error
replaceAll function is added in ES2021 ES12, that's why it is not defined in older versions of browsers, and nodejs. Share.
Read more >
JavaScript replaceAll() – Replace All Instances of a String in JS
Something to note here is that the replaceAll() method doesn't change the original string. Instead, it returns a new copy. All instances of...
Read more >
Solved: "replaceAll is not a function" JavaScript TypeError
If you're seeing the error " TypeError: replaceAll is not a function ", it is likely due to the method not implemented/supported by...
Read more >
String.prototype.replaceAll() - JavaScript - MDN Web Docs
The replaceAll() method returns a new string with all matches of a pattern replaced by a replacement . The pattern can be a...
Read more >
how to remove double quotes from a text file in python
replace() is just to create a new string, rather than changing the old one. ... PyCharm: Installation of non-free OpenCV modules for operations...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found