Search

Impossible to add a default value with more than 255 chars to a Work Item HTML field by kesm

Closed
as Deferred Help for as Deferred

8
0
Sign in
to vote
Type: Bug
ID: 767014
Opened: 10/11/2012 2:36:10 AM
Access Restriction: Public
0
Workaround(s)
8
User(s) can reproduce this bug
I use Visual Studio 2010 Premium and I try to add a default value for my field Microsoft.VSTS.TCM.ReproSteps in a Work Item Type

When I try to add a DEFAULT value in Field Definition that exceed 255 chars I got an error message saying "The actual length is greater than the MaxLength value"

The problem is that I can't edit MaxLength value and as my field is HTML it should be possible to add more than 255 chars
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Team Foundation Server 2012

Steps to reproduce

Open VS
Go to Tools\Process Editor\Work Item Types\Open WIT from server
Open a work item type
In fields tab edit an HTML field
In rules tab add a new rule with DEFAULT value and try to set a value bigger than 255 chars

Product Language

English

Operating System

Windows Server 2008

Operating System Language

English

Actual results

An error message saying The actual length is greater than the MaxLength value is displayed when I try to save the work item type

Expected results

It should be possible to add more than 255 chars in an HTML field or at least it should be possible to force a MaxLength value
File Attachments
File Name Submitted By Submitted On File Size  
MaxLength.png 10/11/2012 26 KB
Sign in to post a comment.
Posted by Microsoft on 11/5/2012 at 4:30 PM
Hi Julien,

This is a known limitation in the product and we don't have a viable workaround at this point. I'm going to capture the feedback and add this to the backlog as a feature request.

Thanks for your input.

-Hakan Eskici
Team Foundation Server
Posted by Microsoft on 10/11/2012 at 11:32 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Microsoft Visual Studio Connect Support Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Julien B - Compario on 10/11/2012 at 2:53 AM
Hi,

I reproduce this defect.
We want to add default value in a HtmlFieldControl which exceed 255 characters (Usually the case with html code). And TFS raise this error. :(
So it's impossible today with tfs to provide defaut value in HTML format (for a best rendering) for each workitem. Formalization is very interesting when collaborators come from severals departments, and use all the same ALM.
Posted by Microsoft on 10/11/2012 at 2:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.