Module displays useless error message

Created on 20 December 2023, 11 months ago
Updated 21 December 2023, 11 months ago

Problem/Motivation

When visiting the module's configuration form, the error message appears:

The error message contains a link that navigates to the same page, but there is no field that must be filled.
The form's code checks for a state set and if it isn't set the form outputs the error message. The state value isn't used anywhere and can't be set anywhere, so the whole check is redundant.

Steps to reproduce

Install the modules
Go to `/admin/config/system/yusaopeny-ymca360/settings`

Proposed resolution

Remove the state check and the message altogether

Remaining tasks

n/a

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024