Lookup values displayed can be incorrect in MUX in 15.9
search cancel

Lookup values displayed can be incorrect in MUX in 15.9

book

Article ID: 204120

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

In 15.9, after enhancing the drop-down component, lookup values displayed might not be proper / correct in the Modern User Experience (UX)

STEPS TO REPRODUCE:

  1. Create a static lookup with values: My Values
    • Value A
    • Value B
    • Value C
  2. On the project object, create a lookup type attribute My Project Values and associate it to the above lookup
  3. Ensure this is enabled for the Modern UX (has the API Attribute ID populated)
  4. On the Modern UX, go to Blueprints
  5. Add the above attribute to a project Blueprint
  6. Take any existing project and associate it to the Blueprint where the attribute displays
  7. Open the project and go to the Properties tab
  8. On the My project Values, select Value A
  9. Using the Developer Tools > Network tab > Look at the Response to see values being passed: Value A, Value B, Value C

    {"_self":"http://myserver:8080/ppm/rest/v1/lookups/MYVALUES/lookupValues?filter=%28%28searchText+startsWith+%27%25%27%29%29&offset=0","_totalCount":3,"_results":[{"displayValue":"Value A","id":"value_a","_self":"http://myserver:8080/ppm/rest/v1/lookups/MYVALUES/lookupValues/dmFsdWVfYQ"},{"displayValue":"Value B","id":"value_b","_self":"http://myserver:8080/ppm/rest/v1/lookups/MYVALUES/lookupValues/dmFsdWVfYg"},{"displayValue":"value C","id":"value_c","_self":"http://myserver:8080/ppm/rest/v1/lookups/MYVALUES/lookupValues/dmFsdWVfYw"}],"_recordsReturned":3}

  10. Go to the My Values lookup and deactivate Value A
  11. Go back to the project on the Modern UX
  12. Open the My project Values drop down
  13. Using the Developer Tools > Network tab > Look at the Response to see values being passed: Value B, Value C   

{"_self":"http://myserver:8080/ppm/rest/v1/lookups/MYVALUES/lookupValues?filter=%28%28searchText+startsWith+%27%25%27%29%29&offset=0","_totalCount":2,"_results":[{"displayValue":"Value B","id":"value_b","_self":"http://myserver:8080/ppm/rest/v1/lookups/MYVALUES/lookupValues/dmFsdWVfYg"},{"displayValue":"value C","id":"value_c","_self":"http://myserver:8080/ppm/rest/v1/lookups/MYVALUES/lookupValues/dmFsdWVfYw"}],"_recordsReturned":2}

Expected Results: To find Value B and Value C as selectable options 
Actual Results: Value A and Value B are selectable

Environment

Clarity 15.9

Cause

This is caused by DE58834

Resolution

This is fixed in 15.9.1 and is also backported to 15.9.0.1

Additional Information

ADDITIONAL INFORMATION: In 15.9 the lookup display has been enhanced and the pre-selected value is grouped on the top of the list.
On this case Value A. As per the developer tools, the response shows Value B and C as selectable, but displaying the pre-selected value hides on the available values behind

Please see Enhancing the Drop-Down Component in 15.9

This is also affecting parameterized lookups with the BROWSE_ONLY construct where the pre-selected value is not passed

See also: Lookups master KB for Clarity

 

Attachments