Jira (PUP-8291) Data types with min range should prefer shortest min in string form

2 views
Skip to first unread message

Henrik Lindberg (JIRA)

unread,
Dec 22, 2017, 7:29:02 AM12/22/17
to puppe...@googlegroups.com
Henrik Lindberg created an issue
 
Puppet / Improvement PUP-8291
Data types with min range should prefer shortest min in string form
Issue Type: Improvement Improvement
Assignee: Thomas Hallgren
Created: 2017/12/22 4:28 AM
Fix Versions: PUP 5.4.0
Priority: Normal Normal
Reporter: Henrik Lindberg

Data types with a range min/max should prefer the shortest output when dealing with a value that is default. For String, Array and Tuple the default for min is 0 and this should be displayed instead of default. For Integer and Float, the default value is a large value (that users will not recognize as "min-int" and "max-int" for example - and for those default should be used instead of numeric output.

Note that Tuple already uses 0, while Array and String does not.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db)
Atlassian logo

Thomas Hallgren (JIRA)

unread,
Jan 2, 2018, 6:51:03 AM1/2/18
to puppe...@googlegroups.com
Thomas Hallgren assigned an issue to Unassigned
Change By: Thomas Hallgren
Assignee: Thomas Hallgren

Henrik Lindberg (JIRA)

unread,
Jan 8, 2018, 9:42:03 AM1/8/18
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
Change By: Henrik Lindberg
Release Notes Summary: Data  type  types  that describe a min/max range used {{default}} to indicate a default min /max  value when it would be more informative to use  an actual value  {{0}}  (for example for  or omit  the  data types Array and  text "default". For example, instead of showing {{  String ) \[1, default]}}, only {{String\[1]}} is displayed .

Josh Cooper (JIRA)

unread,
Jan 9, 2018, 11:46:06 AM1/9/18
to puppe...@googlegroups.com

John Duarte (JIRA)

unread,
Oct 21, 2019, 10:52:04 AM10/21/19
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
QA Risk Assessment: Needs Assessment No Action
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages