In RDNG 6.0.2 iFix003, is there a limit on number of characters in the artifact Name field, and if so, what is the limit?
On our server instance running 6.0.2 iFix 003, I've found that when I use the create artifact dialog and enter data into the primary text field, it auto-populates name with the same data. If I enter more than 255 characters into the primary text field, then name is truncated after 255 characters.
Yet, if I use the inline edit to update the name field for an existing artifact, or if I use the create artifact dialog and enter text directly into the name field (with some or no text added into the primary text field), then name accepts and saves more than 255 characters.
Is there a limit for name and why is it not handled consistently for all create and update paths?
Also, name appears to be a required field, whereas primary text is not. Given that, I'm assuming that if name is long enough to contain the requirement text, and its only text (not tables, images, etc.), then the intent or design is that name should be used to capture the requirement. Can you please confirm that is the intended design or use case?
|
2 answers
When you create an artifact but do not specify a name/title, it will show the first 256 characters of the artifact content (primary text) in views, etc. The name, then, is not fixed, and will show updated content whenever the primary text changes. This 'dynamic name' is sometimes referred to as 'ghosted name'.
Comments
Chris Grev
commented Aug 25 '17, 9:29 a.m.
Thank you Diana, for confirming that name is unlimited, if used directly, and not dynamically populated from primary text.
One more point of clarification also ... if content is put into primary text and is "ghosted" to name, then 2 fields are updated and required to be maintained in the case where the text needs to change. If I just use name to include all my content, then I only have to update name directly and am not required to put any content into the primary text field. Is that correct?
|
Is there a reason why the Name field unbinds from the Primary Text? Sometimes when you deliver a change set, the primary text changes but the Name does not, therefore causing problems to users. Also, RPE pulls from the Name field and this same thing happens. The only way to rebind it is to delete the name field and then let it autopopulate, which is a big pain. Comments
Chris Grev
commented Aug 25 '17, 3:33 p.m.
Venessa, I think you intended to add this as a comment vs. an answer, correct?
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
The intent is that the Name (which is no more required than the Primary Text and is not even displayed by default in views inside modules) contains the Title of the artifact (the attribute is actually called Title internally, for some reason the UI uses Name) and the Primary Text (the clue is in the name) contains the content.
Of course, this assumes that anything specific was actually intended. Internally, both Name and Primary Text use the String data type. The facts that Name does not allow formatting and, in some cases, is limited to 255 characters are, in my view, pretty big clues.
Keith, I understand your points and I read your email with the same info from a couple hours ago. I'm asking about the intent and design and design constraints of DNG and would like a Rational DNG developer or support person to reply to the specific questions.
RDNG has evolved from offering only single requirements in an editor view (each with name/title and content) to additionally offering requirements in modules (and editing requirement content in module views) where names/titles are ignored.