Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Project Member fails silently when no member is selected #5354

Open
Tracked by #5983
maxsokolovsky opened this issue Mar 10, 2022 · 0 comments
Open
Tracked by #5983

Add Project Member fails silently when no member is selected #5354

maxsokolovsky opened this issue Mar 10, 2022 · 0 comments

Comments

@maxsokolovsky
Copy link

maxsokolovsky commented Mar 10, 2022

Setup

  • Rancher version: v2.6.3-patch1 and v2.6-head (e4af246)
  • Browser type & version: Firefox 98

Describe the bug
If a user tries to add a project member without selecting a member, there is a JS error but no visual error in the UI.

To Reproduce

  1. Edit a Project's config.
  2. Click Add to bring up the Add Project Member dialog.
  3. Do not select a member, just click Add (select any permissions you want).

Result
Nothing, the form is not submitted but shows no errors, which is not intuitive.
There is an error in the browser's console:

TypeError: r is undefined
    e Ember
    d runtime.js:45
    _invoke runtime.js:274
    e runtime.js:97
    Babel 6
    Ember 2
    d runtime.js:45
    _invoke runtime.js:274
    e runtime.js:97
    Babel 4
    Ember 2
    d runtime.js:45
    _invoke runtime.js:274
    e runtime.js:97
    Babel 4
    apply Ember
    VueJS 33

Expected Result

An error is shown saying that a member must be selected.

Screenshots

Screen Shot 2022-03-10 at 12 13 11

Additional context

Detailed Description

Context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants