Notifications

558 views

Description

When a catalog item has an onSubmit Catalog client script, and Applies on Requested Items or Applies on Catalog Tasks is checked, depending on whether you are viewing RITM or Catalog Task, if you open the browser console, you will see an error saying "g_sc_form is not defined."

Steps to Reproduce

  1. Navigate to Service Catalog > Catalog Administration > Catalog Client Scripts.

  2. Click New to create a new Catalog client script with the following values:

    Applies to: A Catalog Item
    Active = true
    Type = onSubmit
    Catalog Item = For example, Adobe Acrobat Pro
    Check Applies on Requested Items and Applies on Catalog Tasks
    Uncheck the option Applies on a Catalog Item View"

  3. Navigate to Service Catalog > Maintain Items.

  4. In the Name column, search for "contains Adobe and locate Adobe Acrobat Pro , then select that item.

  5. Once loaded, click Try It.

  6. Click Order Now.

  7. Open your browser console (dev tools for Chrome).

  8. Click the "Create, edit or convert PDF files" hyperlink, which takes you to the RITM.

    Note the error "Uncaught ReferenceError: g_sc_form is not defined".

  9. Click the generated task.

    Note the same error.

 

 

Workaround

If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.


Related Problem: PRB1259149

Seen In

There is no data to report.

Fixed In

Kingston Patch 6
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-11-07 07:49:25
Published:2018-07-23