Skip to content

Fix javascript error on trials page

Doug Stull requested to merge 415954-fix-gtm-error into master

What does this MR do and why?

Fix javascript error on trials page

  • handles the trial company form errors

Screenshots or screen recordings

Before After
see #415954 (comment 1449979688) loads the form as expected

How to set up and validate locally

this error can be seen locally by adding stub_config(extra: { 'google_tag_manager_nonce_id' => 'key' }) in ee/spec/features/trials/saas/creation_with_no_existing_namespace_flow_spec.rb and running the spec locally on master branch

  1. Setup to simulate SaaS and restart GDK
  2. Visit a trials page /-/trials/new

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #415954 (closed)

Edited by Doug Stull

Merge request reports

Loading