Skip to content

Commit

Permalink
[BUGFIX] Make some billing address fields longer (#4143)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverklee authored Feb 13, 2025
1 parent 4136241 commit f579f75
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).

### Fixed

- Make some billing address fields longer (#4143)
- Improve display of users without a full name in the BE module (#4111)
- Avoid crashes for deleted lazy-loaded associations (#4109, #4115)
- Do not double ZIP code, city and country when showing a venue address (#4085)
Expand Down
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Registration/BillingAddressTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ trait BillingAddressTrait
protected string $billingCountry = '';

/**
* @Validate("StringLength", options={"maximum": 32})
* @Validate("StringLength", options={"maximum": 255})
*/
protected string $billingPhoneNumber = '';

Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/EventRegistration/New.html
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ <h3>
</label>
<div class="col-sm-10">
<f:form.textfield property="billingPhoneNumber" id="{idPrefix}-billingPhoneNumber"
maxlength="20" class="form-control" errorClass="is-invalid"
maxlength="255" class="form-control" errorClass="is-invalid"
type="tel" additionalAttributes="{autocomplete: 'tel'}"/>
<f:render partial="EventRegistration/ValidationResult"
arguments="{property: 'billingPhoneNumber'}"/>
Expand Down
10 changes: 5 additions & 5 deletions ext_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -305,14 +305,14 @@ CREATE TABLE tx_seminars_attendances (
method_of_payment int(11) unsigned DEFAULT '0' NOT NULL,
separate_billing_address tinyint(1) unsigned DEFAULT '0' NOT NULL,
company tinytext,
name varchar(80) DEFAULT '' NOT NULL,
name varchar(255) DEFAULT '' NOT NULL,
gender tinyint(1) unsigned DEFAULT '0' NOT NULL,
address tinytext,
zip varchar(20) DEFAULT '' NOT NULL,
city varchar(50) DEFAULT '' NOT NULL,
country varchar(60) DEFAULT '' NOT NULL,
telephone varchar(20) DEFAULT '' NOT NULL,
email varchar(80) DEFAULT '' NOT NULL,
city varchar(255) DEFAULT '' NOT NULL,
country varchar(255) DEFAULT '' NOT NULL,
telephone varchar(255) DEFAULT '' NOT NULL,
email varchar(255) DEFAULT '' NOT NULL,
been_there tinyint(3) unsigned DEFAULT '0' NOT NULL,
interests text,
expectations text,
Expand Down

0 comments on commit f579f75

Please sign in to comment.