"Required" attribute in Ideas get set to false when XOG is used to update an Idea instance
search cancel

"Required" attribute in Ideas get set to false when XOG is used to update an Idea instance

book

Article ID: 220237

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

It is noticed that when Ideas are updated through XOG, the "Required" attribute is set to False even though the XML does not touch it.

Steps to Reproduce: 

  1. Navigate to Home -> Ideas in the Classic UI 
  2. Create a new idea and name it as "Test" 
  3. In the Idea list view, display the "Required" attribute. Against the idea created in step 2, set "Required" field to "Yes"
  4. Determine the ID of this Idea instance 
  5. Use the name and ID of the Idea instance in the XOG template below
    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_idea.xsd"> 
    <Header action="write" externalSource="NIKU" objectType="idea" version="8.0"/>
    <Ideas>
    <Idea active="true" name="Test - Modified once" objectID="<provideID>">
    </Idea>
    </Ideas>
    </NikuDataBus>
  6. XOG In using the XOG Client 
  7. Refresh the Idea list view

Expected Results: "Required" attribute remains set to "Yes" since it has not been touched in the XOG XML. 

Actual Results: "Required" attribute's value is changed to "No". 

Environment

Release: 15.9.2, 15.9.3 

Cause

DE61999 

Workaround:  Explicitly use the 'Required' field in the XOG input file. Alternatively, using REST API does not display the same behavior. If the 'Required' attribute is not used to do a PATCH, then that attribute is not touched. 

Resolution

Fixed in Release 16.0.0