Clarity: Team Default Allocation saved in a non-English Locale format causes the application to use 100% instead of the default value

Document ID : KB000049648
Last Modified Date : 14/02/2018
Show Technical Document Details


The Default Allocation attribute in the TEAM object is set to 0%. Everything worked fine until recently, eventhough the Default Allocation value is still 0%. However when attempting to add resources to a project team, the application is behaving as if the default value is set to 100%

After further investigation, we determined that the Team Default Allocation value was saved by a user with a non-English locale setting and the format of the Default Allocation as '0,00%' (with a comma) causes the application to behave in this manner.

Steps to Reproduce:

  1. Login to Clarity as an administrator

  2. Home > Account Settings > Locale > set to a non-English format

  3. Administration > Studio: Objects > Team > Attributes

  4. Find 'Default Allocation' attribute (ID=prallocdefault) > Properties

  5. Enter '0' into the Default field

  6. Click 'Save' button > the value changes to '0,00%'

    Figure 1

  7. Click 'Save' button again (so that the value appearing in the box is saved as displayed)

  8. Home > Projects > Open an existing Project > Team

  9. Click 'Add' button > Select a Resource > click 'Add' button

    Figure 2

Expected Result: The application should add the resource at 0% allocation - no alert messages should appear.

Actual Result: The action of adding a resource to a project team causes the application to use 100% as the default allocation value.



Reset the Default Allocation attribute default value to '0', click 'Save' button.

Once the saved value '0' refreshes on the page ; it will be displayed in the format of the end-user's locale setting.

Be sure that the 'Save' button is not clicked again when the number is formatted with commas.

If changes must be made on this page, before clicking the 'Save' button again, change the default value to '0'.


Resolved in Clarity 13.0

Figure 3

Figure 4

Keywords: CLARITYKB, CLRT-50819, clarity12open, clarity13resolved, prallocdefault, regional settings, number format.