Project

General

Profile

Actions

Feature #34566

closed

Always trim title

Added by Michael Aram about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

Currently, it is possible to re-title an issue from "myissue" to "myissue ". This is reflected/shown in the history as well. In practice, it makes no sense to allow leading and trailing whitespace in ticket titles. Therefore, I recommend to always trim the title field (and probably other fields as well) upon input, so that it doesnt even make it into the database.


Related issues

Is duplicate of Redmine - Defect #9588: Text fields used for data entry should trim whitespace.New2011-11-16

Actions
Actions #1

Updated by Marius BĂLTEANU about 3 years ago

  • Private changed from No to Yes

Do not test Redmine on this site. This is the Redmine issue tracker for reporting bugs or feature requests about the Redmine core software.
You should use http://demo.redmine.org/ if you want to test Redmine.
I will delete this issue after a while.

Actions #2

Updated by Michael Aram about 3 years ago

I am perfectly aware of this. Please read the title and the description of the issue again.

I have a private installation of Redmine 4.1.1. In this version (I have to admit, I havent checked if this inconvenience is fixed in upcoming code), this "usability smell" exists. It is not a real defect, but it is something that should be improved in future versions. There is no user benefit in leading and trailing whitespace in issue properties, at least not in non-richtext fields.

Last but not least the fix is probably a one-liner...

Feel free to rephrase the ticket title to something more generic, such as "Trim user input from simple text input fields upon reception"

Actions #3

Updated by Marius BĂLTEANU about 3 years ago

Michael Aram wrote:

I am perfectly aware of this. Please read the title and the description of the issue again.

I have a private installation of Redmine 4.1.1. In this version (I have to admit, I havent checked if this inconvenience is fixed in upcoming code), this "usability smell" exists. It is not a real defect, but it is something that should be improved in future versions. There is no user benefit in leading and trailing whitespace in issue properties, at least not in non-richtext fields.

Last but not least the fix is probably a one-liner...

Feel free to rephrase the ticket title to something more generic, such as "Trim user input from simple text input fields upon reception"

Sorry, I wrongly included this tichet. I will delete my comment.

Actions #4

Updated by Marius BĂLTEANU about 3 years ago

  • Private changed from Yes to No

Making this ticket public again, please see my previous notes.

Actions #5

Updated by Go MAEDA about 3 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Thank you for suggesting the feature.

However, I just found #9588 that requests the same feature. So, I am closing this issue as a duplicate of it.

Actions #6

Updated by Go MAEDA about 3 years ago

  • Is duplicate of Defect #9588: Text fields used for data entry should trim whitespace. added
Actions

Also available in: Atom PDF