Bug #2253
Project Section id truncated when saved.
100%
Description
Working with SVN trunk version.
The entry form for project sections states that a section id can be specified of up to 100 characters in length but after saving the id is truncated to 20 characters. This is due to the migration for the new project section model which defines the corresponding column with a max length of 20.
The truncation also causes trouble later on when attempting to display a section overview. With a truncated section id this somehow leads to a failure to find the right view.
If I keep my section id below 20 characters I can also successfully display its overview.
Related issues
Associated revisions
History
#1 Updated by Martin Corino about 11 years ago
I’ve added the attached migration to fix the truncation.
#2 Updated by Minh Thien almost 11 years ago
- File 004_change_projects_section_name_limit.rb View added
And I remove truncated name.
Upload to /redmine/plugins/project_section/db/migrate
Run :
rake redmine:plugins:migrate RAILS_ENV=production
#3 Updated by Andriy Lesyuk over 10 years ago
- Status changed from New to Open
- Assignee set to Andriy Lesyuk
- Target version set to 0.0.2
#4 Updated by Andriy Lesyuk over 10 years ago
- Due date set to 31 May 2014
- Status changed from Open to Closed
- % Done changed from 0 to 100