Notifications

895 views

Description

Using List V3, a UI action with the RP.isRelatedList() condition and the List context menu option selected returns false. Prior to List V3 this returned true.

Steps to Reproduce

  1. Navigate to System Definition > Plugins.
  2. Find and open the record for List v3.
  3. Activate the List v3 plugin.
  4. In the Application Navigator, type sys_properties.list in the Filter navigator text box and press enter or return on your keyboard.
  5. Set glide.ui.list_v3.enable to true.
  6. Set glide.ui.list_v3.related_list to true.
  7. Log out of the instance.
  8. Log back into the instance.
  9. Navigate to System UI > UI Actions.
  10. Click New.
    • name: Test
    • table: Affected CIs [task_ci]
    • condition: gs.log('isRelatedList Output: ' + RP.isRelatedList())
    • show update: select
    • list context menu: select
    • list banner button: select
  11. Click Submit.
  12. Navigate to Change > All.
  13. Open CHG0000001.
  14. Find the Affected CIs section or tab. 
  15. Right-click on the entry in the row.
  16. Navigate to System Logs > System Log > All.
  17. Filter the list:
    • [Created] [on] [Today]
      and
    • [Message] [contains] [isRelatedList Output]
  18. Click Run.
    Note that the Message column contains isRelatedList Output: false.
  19. In the Application Navigator, type sys_properties.list in the Filter navigator text box and press enter or return on your keyboard.
  20. Set glide.ui.list_v3.enable to false.
  21. Set glide.ui.list_v3.related_list to false.
  22. Log out of the instance.
  23. Log back into the instance.
  24. Navigate to Change > All.
  25. Open CHG0000001.
  26. Find the Affected CIs section or tab.
  27. Right-click on the entry in the row.
  28. Navigate to System Logs > System Log > All.
  29. Filter the list:
    • [Created] [on] [Today]
      and
    • [Message] [contains] [isRelatedList Output]
  30. Click Run
    Note that the Message column contains isRelatedList Output: true.

Workaround

There are two available workarounds:

  • Disable List v3 for the related list, either by using List Control and selecting Disable List v3 or by setting system property glide.ui.list_v3.related_list to false
  • Rewrite the condition to omit usage of RP.isRelatedList() and to look at other factors

Related Problem: PRB727989

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-06-02 09:56:07
Published:2016-11-29