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

QXF Schema validation #3464

Open
FReichelt opened this issue Sep 9, 2023 · 0 comments
Open

QXF Schema validation #3464

FReichelt opened this issue Sep 9, 2023 · 0 comments

Comments

@FReichelt
Copy link

FReichelt commented Sep 9, 2023

Hello, i've tried importing a qxf file for the Stairville LED BAR 126 / 252 RGB, but the upload failed:

{
  "plugin": "qlcplus_4.12.2",
  "fileName": "stairville_led_bar_modified.qxf",
  "fileContentBase64": "PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8bnMwOkZpeHR1cmVEZWZpbml0aW9uIHhtbG5zOm5zMD0iaHR0cDovL3d3dy5xbGNwbHVzLm9yZy9GaXh0dXJlRGVmaW5pdGlvbiI+CiAgCiAKICA8bnMwOkNyZWF0b3I+CiAgICAKICAKICAgIDxuczA6TmFtZT5RIExpZ2h0IENvbnRyb2xsZXIgUGx1czwvbnMwOk5hbWU+CiAgICAKICAKICAgIDxuczA6VmVyc2lvbj40LjEyLjAgR0lUPC9uczA6VmVyc2lvbj4KICAgIAogIAogICAgPG5zMDpBdXRob3I+UmFsZiBIZXJvbGQ8L25zMDpBdXRob3I+CiAgICAKIAogIDwvbnMwOkNyZWF0b3I+CiAgCiAKICA8bnMwOk1hbnVmYWN0dXJlcj5TdGFpcnZpbGxlPC9uczA6TWFudWZhY3R1cmVyPgogIAogCiAgPG5zMDpNb2RlbD5MRUQgQkFSIDI1MiBSR0I8L25zMDpNb2RlbD4KICAKIAogIDxuczA6VHlwZT5MRUQgQmFyIChQaXhlbHMpPC9uczA6VHlwZT4KICAKIAogIDxuczA6Q2hhbm5lbCBOYW1lPSJNb2RlIDEiPgogICAgCiAgCiAgICA8bnMwOkdyb3VwIEJ5dGU9IjAiPkVmZmVjdDwvbnMwOkdyb3VwPgogICAgCiAgCiAgICA8bnMwOk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PgogIAoKICA8bnMwOk1hdHJpeD4KICAgIDxQaXhlbENvdW50PjEsMzwvUGl4ZWxDb3VudD4KICA8L25zMDpNYXRyaXg+CjwvbnMwOkZpeHR1cmVEZWZpbml0aW9uPgo=",
  "author": "Florian Reichelt"
}

Parse error (Cannot read properties of undefined (reading 'Model'))

I've uploaded the wrong file, and I think it would be a nice idea to add an error message instead of redirecting them to GitHub if the scheme is wrong.

@FReichelt FReichelt changed the title Stairville LED BAR 126 / 252 RGB Import QXF Schema validation Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant