Skip to content

Ensure project path is trimmed upon project creation

Paul Gascou-Vaillancourt requested to merge fix-project-path-jquery-dom into master

What does this MR do and why?

Ensure project path is trimmed upon project creation

This updates some code that attempted to interact with a DOM element through jQuery's API.

Changelog: fixed

This was likely overlooked in !88012 (merged).

Screenshots or screen recordings

Before After
Screenshot_2023-06-02_at_2.03.56_PM No error.

How to set up and validate locally

  1. Open the New project form at http://gdk.test:3000/projects/new#blank_project.
  2. In the path input, add some value with trailing and or leading blank spaces.
  3. Submit the form.
    • No error should appear, and the path input's value should be updated to remove extraneous spaces.

MR acceptance checklist

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

Merge request reports