Unable to create a Modern UX subobject instance if a number type attribute is required and the field value is 0
book
Article ID: 189254
calendar_today
Updated On:
Products
Clarity PPM On PremiseClarity PPM SaaS
Issue/Introduction
STEPS TO REPRODUCE:
1. Go to Administration > Studio > Objects 2. Create a subobject of the project object. 3. Make it API Enabled 3. On the attribute list, create a Number Type attribute and mark it as VALUE REQUIRED. And provide an API attribute ID 4. Go to the Modern UX 5. Edit a project Blueprint and under Modules, add the subobject created in Step2 and Publish it 6. Edit a project associated to the Blueprint we modified 7. Go to the subobject tab and add the Number Type attribute we created to the list. 8. Click on the + sign and create a new instance. 9. Fill the fields in and add a 1 as value to the custom Number Type attribute 10. Instance is created 11. Click on the + sign and create a new instance. 12. Fill the fields in and add a 0 as value to the custom Number Type attribute
Expected Results: The new instance is created successfully. Actual Results: The new instance is not created. The number 0 is not accepted at creation
Environment
Clarity PPM 15.7, 15.7.1 and 15.8
Cause
This is caused by DE54578
Resolution
This is fixed in 15.8.1
Workaround for releases prior to 15.8.1: Add a non 0 value at creation and then update it to 0