Notifications

1213 views

Description

When a record producer with a variable of type Yes/No or Multiple Choice with 'none' included is used to produce a record, the variable returns "undefined" instead of an empty string.

Steps to Reproduce

Note: This issue does not always occur because the same file exists in two different plugin. Which file is loaded depends on the activation of the plugin.

To reproduce:

  1. Navigate to Service Catalog > Record Producers.

  2. Click New and create a new record producer on sc_request table or sc_req_item table.

  3. Right-click in the form header and choose Save.

  4. Under Related Links, go to the Variables tab and click New.

  5. Use the following values for the variable:

    Question: [Placeholder text]
    Name: short_desc
    Type: Yes/No variable
    In the Type specifications tab, select the Include none checkbox.

  6. Click Submit.
  7. In the What it will contain section, add the following to the Script field:

    current.short_description = 'short_description: ' + producer.short_desc.getDisplayValue();

  8. Click Try it, select None from the drop-down list, and click Submit.

    Note that the short_description of the new request/requested item is "short_description: undefined" rather than no text.

 

Workaround

There is no known workaround for this issue. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.


Related Problem: PRB713494

Seen In

Geneva Patch 3 Hot Fix 11
Geneva Patch 5
Geneva Patch 6 Hot Fix 2
Geneva Patch 7
Geneva Patch 7 Hot Fix 2
Geneva Patch 8
Geneva Patch 8 Hot Fix 1
Helsinki Patch 2
Helsinki Patch 4
Helsinki Patch 5
Helsinki Patch 6
Helsinki Patch 7

Fixed In

Geneva Patch 11
Helsinki Patch 8
Istanbul Patch 1
Jakarta

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-03-21 10:06:29
Published:2016-11-23