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

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

Open
trungdong opened this issue May 7, 2024 · 1 comment
Open

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

trungdong opened this issue May 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@trungdong
Copy link

🐞 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

  • Operating System: MacOS
  • Browser: Safari 17.4.1 and Firefox 125.0.3
  • Browser resolution
  • Are cookies enabled: YES
  • Is Javascript enabled: YES
  • Do you have an ad blocker

📝 Additional context

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

@trungdong trungdong added the bug Something isn't working label May 7, 2024
@IanMayo
Copy link
Contributor

IanMayo commented May 7, 2024

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:

  • schemas will sit inside a wargame, rather than be shared across wargames. So, they will be edited via the Templates tab within a wargame.
  • schemas will be edited using a graphical editor, lowering the skill-set required. Here is their playground.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants