As designed [ACP] Inconsistent User Communication Experience

ibnesayeed

Well-known member
Affected version
2.0.0
In the ACP, under Communication section when we create a new Notice and click Save button without filling any form fields, we get an overlay modal window that describes what went wrong (i.e., to fill title and message fields with valid data).

However, when we go to Alert users, Email users, or Message users options and click the Proceed... button with empty form, the error is shown on the next page (not in an overlay modal window). Also, it says, "Please complete all required fields", but does not tell what fields were required (and there is no indication of the required fields in the form itself).
 
There are generally technical reasons for this and it has to do with the result of the action. When you save, we actually return a redirect. In the other examples, we are returning an actual page with content that you need to view and choices to make. Technically, we could use another approach, though it ends up creating different caveats and generally a worse behavior in some scenarios.

So overall, this is as designed, though I will look at marking certain fields as required.
 
Top Bottom