2018 views

Description

When setDisplay() is used to hide a variable set that contains a checkbox, it hides other variables sets.

Steps to Reproduce

  1. Log into your instance.
  2. Navigate to Service Catalog > Catalog Definition > Maintain Items and open a record (e.g. Apple iPhone 5).
  3. Create two new variable sets:
    1. Variable set 1
      • Name: test_1
      • Create a checkbox variable with a Question/Name of 'Checkbox 1'
      • Order 10
    2. Variable set 2
      1. Name: test_2
      2. Create another checkbox variable with a Question/Name of 'Checkbox 2'
      3. Order 20
  4. Navigate to Service Catalog, search for Apple iPhone 5, and click the item. Note that the 'Options' check boxes for both variable sets are present.
  5. Navigate to Service Catalog > Catalog Policy > Catalog Client Scripts.
  6. Create a new record using the following information:
    • Type: onLoad
    • Catalog Item: Apple iPhone 5 (from example)
    • Script: function onLoad() {g_form.setDisplay("test_1", false);}
  7. Save this client script.
  8. Navigate to Service Catalog, search for Apple iPhone 5, and click the item.

Note that the 'Options' check boxes for either variable set are not present on the catalog item page.

Workaround

There is no known workaround for this issue. If you are able to upgrade, review the Fixed In field below to determine the versions that have a permanent fix. You can also subscribe to this known error article (click Subscribe button at the top of the article) to receive notifications when more information is available about this issue.


Related Problem: PRB620190

Seen In

Eureka Patch 1 Hot Fix 2
Eureka Patch 5
Eureka Patch 6
Eureka Patch 7
Eureka Patch 7 Hot Fix 1
Eureka Patch 8
Eureka Patch 9 Hot Fix 1

Fixed In

Fuji Patch 1
Geneva
Helsinki

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-03-22 09:25:11
Published:2015-01-27