Project

General

Profile

Actions

Feature #37679

closed

Raise the maximum length of the last name to 255 characters

Added by Anthony Mallet over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Accounts / authentication
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

According to r11392, the lastname length is increased to 255 characters.

It seems that the user validations was never updated accordingly and I have some users hitting the limit in a legitimate way.

Would the attached patch be enough to fix the issue?


Files

limit.patch (855 Bytes) limit.patch Increase validates_length_of :lastname Anthony Mallet, 2022-09-15 21:36
37679.patch (1.33 KB) 37679.patch Go MAEDA, 2023-06-23 02:43

Related issues

Related to Redmine - Feature #13174: Raise group name maximum length to 255 charactersClosedJean-Philippe Lang

Actions
Actions #1

Updated by Anthony Mallet over 1 year ago

Sorry, stupid typo in previous patch ...

Actions #2

Updated by Go MAEDA over 1 year ago

  • Related to Feature #13174: Raise group name maximum length to 255 characters added
Actions #3

Updated by Go MAEDA over 1 year ago

  • Description updated (diff)
Actions #4

Updated by Go MAEDA over 1 year ago

  • File deleted (limit.patch)
Actions #5

Updated by Go MAEDA 8 months ago

  • Target version set to Candidate for next major release
Actions #6

Updated by Go MAEDA 8 months ago

Added a test to the original patch.

Setting the target version to 5.1.0.

Actions #7

Updated by Go MAEDA 6 months ago

  • Subject changed from user.lastname artificially limited to length 30 (should be 255) to Raise the maximum length of the last name to 255 characters
  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch. Thank you.

Actions #8

Updated by Go MAEDA 4 months ago

  • Tracker changed from Patch to Feature
Actions

Also available in: Atom PDF