Number attribute with % can skip validation range when rounded
search cancel

Number attribute with % can skip validation range when rounded

book

Article ID: 226778

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When a number attribute is shown as percent, it can skip the validation range and end up in values higher than expected.

Steps to Reproduce

  1. Go to Administration > Studio > Objects > Status Report > Attributes and create a new attribute.
  2. Select Data Type as 'Number'.
  3. Select 0 'Decimal Places'.
  4. Select 'Show as Percent' and save.
  5. In the 'Validation Range, enter 0% to 100%.
  6. Save and Return.
  7. Create a new Status Report in the Classic UX and fill in the value for this attribute as "100.9%" (that is higher than the max range).

Expected Results: As the value is >100%, show an error.

Actual Results: The value is accepted and 101% is displayed. In the database, the stored value is "1.01".

Environment

Release : 15.9.3

Component : CLARITY STUDIO

Cause

This issue has been reported to Engineering as DE63020.

Resolution

This issue has been fixed in Clarity 16.0.1.