Participant card number must be of type int

Created on 25 May 2023, over 1 year ago
Updated 31 May 2023, over 1 year ago

Problem/Motivation

The field widget form for the participant info field type does not validate, that the given card number is an integer between 10 and 9999999.

Steps to reproduce

Add participant info field to user or node and enter a non integer value in the card number. Submit the form.
Expected outcome would be, that an error message is shown similar to the one in the modules settings form.
Actual outcome is that the form gets saved and subsequent calls to metis with this wrong card number will fail.

Proposed resolution

Add validation similar to settings forms validation of the publisher id.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany daniel.bosen

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

Comments & Activities

Production build 0.71.5 2024