[go: up one dir, main page]

Regression: Custom project templates pagination is broken from second page visited

Summary

Previously fixed bug returns: UI is broken when selecting instance templates ... (#456061 - closed)

Note: needs to be backported to %17.5 AND also should be affecting the instance tab.

Steps to reproduce

  1. Navigate to http://gdk.test:3000/flightjs and create a New subgroup
  2. Navigate to the sub group and create a project under the subgroup
  3. Navigate to http://gdk.test:3000/groups/flightjs/-/edit#js-custom-project-templates-settings
  4. Under Custom project templates select the subgroup created in step 1
  5. Follow step 1-4 for at least one more group.
  6. Navigate to http://gdk.test:3000/projects/new#create_from_template
    • Replace http://gdk.test:3000 with your instance root URL.
  7. Click on Group
  8. The pagination on the Group tab should work as expected.

From the MR that fixed this: !147534 (merged)

Example Project

Any

What is the current bug behavior?

Second page visited does not show any layout, broken CSS and only the content is showing.

What is the expected correct behavior?

Page renders correctly.

Relevant logs and/or screenshots

image

Possible fixes

Seems like it might be missing a .pagination for some reason.

Or the listeners are set before the content arrives. (event delegation?)

Edited by André Luís