StackStorm / StackStorm/st2

Inquiries with invalid schema go to blank page

Open
#6,215 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

SUMMARY

If there's any issues with the JSON schema for an inquiry, when you click on the inquiry in the UI, it sends you to a blank page

STACKSTORM VERSION

st2 3.8.1, on Python 3.9.13

OS, environment, install method

Post what OS you are running this on, along with any other relevant information/

Docker on Ubuntu server

Steps to reproduce the problem

Provide an invalid JSON format to an Inquiry, then go to Inquiries in the web UI and click on that newly created Inquiry

Expected Results

Unsure, but I'd at least expect an error to be shown on the page

Actual Results

Just a blank page

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem by creating an Inquiry with invalid JSON schema, then opening it from the Inquiries view in the web UI. Trace the page entry point and the error-handling path for that view; done means the invalid schema produces a visible, useful error instead of a blank page.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.