Create from Template - secured attribute saved as null instead of template value for View-only users
search cancel

Create from Template - secured attribute saved as null instead of template value for View-only users

book

Article ID: 453769

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

In the Modern UX Create from Template flow, a Secured custom attribute's value comes back null on the new Idea instead of the template's value, when the acting user has View access but not Edit access on that attribute.


STEPS TO REPRODUCE:
1. Go to Administration - Studio - Objects - Ideas – Attributes
2. Create a new custom attribute z_test, Lookup, use Active and Locked resources OOTB lookup, enable for API Alias, Save
3. Create a new non admin user “testuser”, add Basic Group
4. Add all Idea global rights except for any EDIT ones
5. Now go to Administration – Groups – create two groups ViewTest and EditTest
6. Add admin user to EditTest group
7. Add testuser to ViewTest group
8. Now go to MUX – Administration – Attributes
9. Find the custom attribute z_test and set it to Secure
10. Set Access Edit to EditTest
11. Set Access View to ViewTest
12. Go to Administration – Blueprints
13. Create a copy of Idea Blueprint – go to Create Template – add z_test to it and Publish
14. Go to Ideas, add z_test and Blueprint to the Grid
15. Create an Idea template, add a value to z_test and save, set it to use the Copy of Idea Blueprint edited above
16. Connected as admin user – open MUX Ideas – New from Template – pick the same Idea Template – click Create after filling the data
17. Note the idea gets created and copies the value for z_test from the template
18. Now connect as testuser
19. Open MUX Ideas – New from Template – pick the same Idea Template – click Create after filling the data
20. Check the value for z_test for the newly created Idea


Expected Results: The new idea carries forward the template's value for z_test, matching what the Create from Template popup displayed as read-only.


Actual Results: The attribute is blank / null on the new idea, even though the Create from Template wizard correctly displayed the value as read-only 

Environment

Clarity 16.4.1, 16.4.2, 16.4.3

Cause

DE211221 

Resolution

Fixed in:

  • Clarity 16.5.0
  • Clarity 16.4.3 Patch 2 (16.4.3.2)

Workaround: Remove the z_test field from Create Template wizard