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

Regex console warning errors in template editor #1271

Closed
danyill opened this issue Jun 22, 2023 · 1 comment · Fixed by #1273 or #1543
Closed

Regex console warning errors in template editor #1271

danyill opened this issue Jun 22, 2023 · 1 comment · Fixed by #1273 or #1543
Assignees
Labels
Kind: Bug Something isn't working

Comments

@danyill
Copy link
Collaborator

danyill commented Jun 22, 2023

Describe the bug

Related to #1265 I don't think all the regex strings are right yet.
I cleared my cache, opened the Templates plugin, clicked on an item and I see console warnings.

To Reproduce

Steps to reproduce the behavior:

  1. Open a file in OpenSCD with DataTypeTemplate definitions.
  2. Add the Templates editor and open it.
  3. Click on a DOType, the "Edit DOType" screen appears.
  4. See console warning.

Expected behavior

No warnings if we've moved with upstream.

Screenshots

image

Desktop (please complete the following information):

  • OS: Linux Ubuntu 23.04.
  • Browser: Chrome
  • Version: 113.0.5672.92 (Official Build) (64-bit)
@danyill danyill added the Kind: Bug Something isn't working label Jun 22, 2023
@danyill
Copy link
Collaborator Author

danyill commented Jun 22, 2023

I think I see the problem, we have not updated the regexes associated with limits for wizards. I shall do a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Kind: Bug Something isn't working
Projects
None yet
1 participant