fix(wallet): widen bank_card_number columns and cap input length
Module 3 step 1 (output application) had no length limit on the bank card number fields in either the frontend input or the backend DTO. A long test value overflowed VARCHAR(30) and the MySQL update failed with 'Data truncation: Data too long for column bank_card_number', returning a 500 and blocking the whole module 3 flow (and therefore module 4/5 downstream). - widen wallet_application.bank_card_number/input_bank_card_number, bank_received_wallet_application.bank_card_number, wallet_registration_request.bank_card_number, and central_wallet_registration.bank_card_number from VARCHAR(30) to VARCHAR(64) in schema.sql (already applied directly to the running dev database via ALTER TABLE) - add @Size(max = 64) to WalletApplicationRequest's card number fields - add maxlength=64 to the bank card input on the wallet open stepchore/issuance-comments-zh
parent
93bed6a2a4
commit
8af6f539bf
Loading…
Reference in New Issue