Message and Open commands are called despite errors in the form.

Created on 11 February 2022, over 2 years ago
Updated 13 February 2024, 5 months ago

Problem/Motivation

Message and open commands are called despite errors in the form.

Steps to reproduce

Add a required field to the order item type, and add the product to the cart without filling the field. The message command comes up though the form never submitted.

Proposed resolution

check if the $form_state has any errors:

πŸ› 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

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024