Notifications

67 views

Description

If the instance has been configured to use UI15 or has disabled some UI16 features, users cannot create ATF test steps that have Reference fields (Impersonate Step - User field) or Glide Lists (Create User Step - Roles / Groups fields).

The following error can be observed in the Console:

Uncaught Error: [$injector:unpr] http://errors.angularjs.org/1.4.8/$injector/unpr?p0=i18nProvider%20%3C-%20i18n

Steps to Reproduce

New York and up

1) UI 15:

Ex: Open "Settings" (Gear icon), then at top-right corner of the modal, click "Switch to UI15"

2) Some UI 16 features disabled:

Ex: Set sys_properties "glide.ui16.live_forms.enabled" = false

Glide Lists:

  1. Navigate to ATF > Tests
  2. Click on "Add Test Step", and choose the test step "Create a User" from the 'Server' category.
  3. Click on either Roles or Groups lock icon to unlock it to add roles and groups
  4. You will see that the lists do not unlock/expand
  5. In the browser (e.g.: Chrome) Right-click and choose Inspect and go to the browser console tab. Uou will see the below console error:
    Uncaught Error: [$injector:unpr] http://errors.angularjs.org/1.4.8/$injector/unpr?p0=i18nProvider%20%3C-%20i18n

Reference Fields:

  1. Navigate to ATF > Tests
  2. Click on "Add Test Step", and choose the test step "Impersonate" from the 'Server' category.
  3. Click on the Magnifying glass of the User reference field
  4. Note that the magnifying glass does nothing.
  5. In the browser (e.g.: Chrome) Right-click and choose Inspect and go to the browser console tab. Uou will see the below console error:
    Uncaught Error: [$injector:unpr] http://errors.angularjs.org/1.4.8/$injector/unpr?p0=i18nProvider%20%3C-%20i18n
    at angular_includes_1.4.jsx?v=02-05-2020_1535:8
    at angular_includes_1.4.jsx?v=02-05-2020_1535:43
    at Object.d [as get] (angular_includes_1.4.jsx?v=02-05-2020_1535:41)
    at angular_includes_1.4.jsx?v=02-05-2020_1535:43
    at Object.d [as get] (angular_includes_1.4.jsx?v=02-05-2020_1535:41)
    at element-mapping-v2.min.jsx?v=02-05-2020_1535&sysparm_substitute=false:102
    at runAfterPageLoadedEvents (js_includes_doctype.jsx?v=02-05-2020_1535&lp=Mon_Feb_17_03_55_12_PST_2020&c=6_108:575)

Workaround

After carefully considering the severity and frequency of this problem, and risk of attempting a fix, it has been decided to not address this issue in any current or future releases. We do not make these decisions lightly, and we apologize for any inconvenience.

However, you can use the following workaround:

  1. As user with admin role, navigate to 'sys_properties.list'.
  2. Filter for the System Property named "glide.element_mapping.enable_old_version".
  3. Set its value to true.
  4. Attempt to create tests and steps again.

Related Problem: PRB1388737

Seen In

SR - ITOM - CMDB CI Class Models - 201907
SR - ITOM - Discovery and Service Mapping - v1.0.35
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Security Incident Response UI Patch - London 2019 Q2 v.6.2.3
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3
SR - VR - Vulnerability Response - New York 2019 Q3

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-06-10 06:50:46
Published:2020-03-05