Jira (PUP-8439) Default upper limit of Timestamp and Timespan data types is incorrectly set equal to lower limit

2 views
Skip to first unread message

Thomas Hallgren (JIRA)

unread,
Feb 8, 2018, 3:58:02 AM2/8/18
to puppe...@googlegroups.com
Thomas Hallgren created an issue
 
Puppet / Bug PUP-8439
Default upper limit of Timestamp and Timespan data types is incorrectly set equal to lower limit
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2018/02/08 12:57 AM
Environment:

The data types Float, Integer, Timespan, and Timestamp in the Puppet type system can be specified with a lower and upper limit using the syntax T[min, max]. When using just one argument, T[x] the  Float and Integer will interpret this as T[x, <no limit>] whereas Timespan and Timestamp interprets it as T[x,x]. The latter interpretation is incorrect. Timespan and Timestamp must be changed to use the same semantics as Float and Integer.

Priority: Normal Normal
Reporter: Thomas Hallgren

Puppet Version:
Puppet Server Version:
OS Name/Version:

Describe your issue in as much detail as possible…
Describe steps to reproduce…

Desired Behavior:

Actual Behavior:

Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

Examples:
Run puppet agent with --test --trace --debug

Relevant sections of /var/log/puppetlabs/puppetserver/puppetserver.log or any applicable logs from the same directory.

For more detailed information turn up the server logs by upping the log level in the server's logback.xml

Relevant sections of configurations files (puppet.conf, hiera.conf, Server's conf.d, defaults/sysconfig)

For memory issues with server heap dumps are also helpful.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)
Atlassian logo

Thomas Hallgren (JIRA)

unread,
Feb 8, 2018, 3:59:02 AM2/8/18
to puppe...@googlegroups.com

Thomas Hallgren (JIRA)

unread,
Feb 8, 2018, 3:59:02 AM2/8/18
to puppe...@googlegroups.com

Thomas Hallgren (JIRA)

unread,
Feb 8, 2018, 4:00:19 AM2/8/18
to puppe...@googlegroups.com
Thomas Hallgren assigned an issue to Thomas Hallgren
Change By: Thomas Hallgren
Assignee: Thomas Hallgren
Environment: The data types {{Float}}, {{Integer}}, {{Timespan}}, and {{Timestamp}} in the Puppet type system can be specified with a lower and upper limit using the syntax {{T[min, max]}}. When using just one argument, {{T[x]}} the  {{Float}} and {{Integer}} will interpret this as {{T[x, <no limit>]}} whereas {{Timespan}} and {{Timestamp}} interprets it as {{T[x,x]}}. The latter interpretation is incorrect. {{Timespan}} and {{Timestamp}} must be changed to use the same semantics as {{Float}} and {{Integer}}.
Story Points: 1
Team: Platform Core
Sprint: Bolt Kanban
Method Found: Needs Assessment Manual Test

Thomas Hallgren (JIRA)

unread,
Feb 8, 2018, 4:41:02 AM2/8/18
to puppe...@googlegroups.com

Henrik Lindberg (JIRA)

unread,
Feb 10, 2018, 1:02:02 PM2/10/18
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Feb 12, 2018, 12:42:03 PM2/12/18
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Feb 12, 2018, 12:48:03 PM2/12/18
to puppe...@googlegroups.com

Kenn Hussey (JIRA)

unread,
Mar 9, 2018, 2:18:04 PM3/9/18
to puppe...@googlegroups.com
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Henrik Lindberg (JIRA)

unread,
Mar 9, 2018, 9:18:02 PM3/9/18
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
 
Change By: Henrik Lindberg
Release Notes Summary: The data types Timespan and Timestamp incorrectly set the upper bounds to the same as lower bounds when created with a single parameter - that is T[x] was taken as T[x,x] instead of T[x, <no-limit>]. This is now corrected.
Release Notes: Bug Fix

Josh Cooper (JIRA)

unread,
Mar 13, 2018, 1:51:04 PM3/13/18
to puppe...@googlegroups.com

John Duarte (JIRA)

unread,
Oct 21, 2019, 10:57:04 AM10/21/19
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages