[Demo Projects HQ] No value in Status of Redirect step

OS info

  • Operating System : Windows 10.0.26200
  • Wappler Version : 7.9.7

Problem description

With "status": 302 attribute, value does not appear:

      {
        "name": "go_login",
        "module": "core",
        "action": "redirect",
        "options": {
          "url": "/login",
          "status": 302
        }
      }

After selecting 302, value appears:

  {
    "name": "go_login",
    "module": "core",
    "action": "redirect",
    "options": {
      "url": "/login"
    }
  }

Steps to reproduce

  1. Open api>auth>logout.
  2. No value in Status.

302 is the default status code for the redirect action, that is why it was removed from the json when you selected it.

We will have a fix in the next update for the empty status in the UI. We also added more status codes (307 and 308) and added a help text to help decide which status code to use.