Skip to content

Maintenance mode message not showed in some pages #7903

@arvindsv

Description

@arvindsv
Issue Type
  • Bug Report
Summary

When in maintenance mode, when you try to create a secret config or an authorization config, the save in those modals does not show the message that maintenance mode is on.

Environment
Basic environment details
  • Go Version: 20.2.0
  • Browser vendor and version (if relevant): Firefox 74.0
Steps to Reproduce
  1. Put server in maintainence mode.
  2. Try to save a secret config or authorization config.
Expected Results

Should show a message about maintenance mode.

Log snippets

There seems to be a Javascript error in the console, which might be relevant. It says:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Code snippets/Screenshots

This works (role config):

2020_03_24_12-44-06

This doesn't (secret config):

2020_03_24_12-43-09

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions