serge-web / serge

Serious Gaming, Evolved - web interface
https://sites.google.com/deepbluec.com/serge/
Apache License 2.0
14 stars 4 forks source link

Invalid JSON Schema error when creating a new message template #2929

Open trungdong opened 5 months ago

trungdong commented 5 months ago

🐞 Bug description

When creating a new message template, an error message pops up: "Invalid JSON Schema". The Schema Editor is not editable.

🔢 Steps to Reproduce

  1. Go to http://localhost:8080/serge/admin
  2. Click on 'Message Templates'
  3. Click on '+ Create New Template'
  4. See error pop up above

⚙️ Expected behavior

Be able to edit and save a new message template.

🖥️ Screenshots

Screenshot 2024-05-07 at 10 54 47 Screenshot 2024-05-07 at 10 55 08

💻 System information

📝 Additional context

This is blocking us from creating a message template for targeting assignments.

IanMayo commented 5 months ago

Hello, thanks for taking the time to report this.

The current Schema editor is going to be deprecated. While we are continuing to define templates as JSON Schemas, we are making these changes:

The transition is in this pull-request, though I see the build is currently failing. I'll get the relevant developer back on that issue once she has resolved ( #2927 ) a performance issue with the CouchDb instance I'm hosting for you.