Project

General

Profile

Actions

Bug #4409

closed

Submit button for Architecture creation doesn't close the form nor does it display the new architecture in the list

Added by Og Maciel about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Using the web ui to create a new architecture I noticed that the submit button does not give any indication that the record was created (the architecture does get created)... you have to reload the page in order to see the new record. The form doesn't close either, which is confusing to the user. Clicking the Submit button again tells me the name I chose has already been taken but the record is not listed.

Steps:

  • Create a new architecture via the UI. Select a valid OS
  • Click the Submit button

The attached screenshot shows that the form is still open and that the new record is not listed in the list to the left of the UI.


Files

Screen Shot 2014-02-20 at 5.56.35 PM.png View Screen Shot 2014-02-20 at 5.56.35 PM.png 63.4 KB Form is not closed after clicking Submit Og Maciel, 02/20/2014 10:57 PM
Screen Shot 2014-02-20 at 5.57.27 PM.png View Screen Shot 2014-02-20 at 5.57.27 PM.png 58.5 KB Name is already taken Og Maciel, 02/20/2014 10:58 PM

Related issues 1 (0 open1 closed)

Related to Katello - Bug #4490: Roles UI page messes up after scrollingClosed02/28/2014Actions
Actions #1

Updated by Ohad Levy about 10 years ago

  • Project changed from Foreman to Katello
  • Category deleted (Web Interface)

I can't reproduce it with Core foreman, just when Katello is installed.

Do you see any JS errors?

Actions #2

Updated by Og Maciel about 10 years ago

I did not see any javascript errors. All requests and responses look normal.

Actions #3

Updated by Mike McCune about 10 years ago

FYI, same thing happens for me with users and not just Architectures.

Try to create a user, hit Submit and nothing happens in the UI. If you refresh the Users list it shows the newly created user.

Actions #4

Updated by Ohad Levy about 10 years ago

  • Related to Bug #4490: Roles UI page messes up after scrolling added
Actions #5

Updated by Mike McCune about 10 years ago

  • Category set to Web UI
  • Assignee set to Brad Buckingham
Actions #6

Updated by Brad Buckingham about 10 years ago

Made changes in Katello (https://github.com/Katello/katello/pull/3769) which allow the Foreman two-pane to work properly. It looks like the 'id' that Katello was using for the Content menu was interfering with Foreman. The id used was 'content'.

Actions #7

Updated by Brad Buckingham about 10 years ago

It looks like the source of the conflict is that Foreman two-pane uses #content, which conflicted with the plugin using the same id in the menu.

E.g.
./two-pane.js:46: $('#content').html(response.responseText);
./two-pane.js:66: $('#content').html(response.responseText);
./two-pane.js:109: var form_content = $("#content form.well", response);
./two-pane.js:117: $('#content').replaceWith($("#content", response));

Actions #8

Updated by Brad Buckingham about 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:63afa801936cff8db1c6b0db7310aaf75046e3ef.

Actions #9

Updated by Eric Helms almost 10 years ago

  • Triaged set to Yes
Actions #10

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF