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

LPS-131654 Intermediate pages in page-iterator do not update when SPA is enabled #1205

Closed
wants to merge 1 commit into from

Conversation

holatuwol
Copy link

Steps to reproduce

  1. Upload the attached 1000 documents to the documents and media portlet
  2. Navigate to the home page, and use the search bar portlet to search for "test"
  3. Change the pagination to 20 results per page
  4. Refresh the page
  5. Click on the ... and scroll through the results and confirm that it makes sense
  6. Change the pagination to 60 results per page
  7. Click on the ... and scroll through the results

Expected behavior is that now that it's 60 results per page, we should see 17 pages. Actual behavior is that we still see 50 pages.

Solution notes

Originally I fixed it only for documents and media's search, rather than the normal search portlet, and I (incorrectly) assumed that the same fix would work in both places. However, since the search results portlet is instanceable, the solution for the documents and media portlet didn't work for the search results portlet.

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:relevant
  •     ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:sf - 1 out of 1 jobs passed in 3 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 167f47e46c2ea38101a1cfbf6d2ba237e138b484

Sender Branch:

Branch Name: LPS-134423
Branch GIT ID: 46d5d722713836c80d64d6d385e312963ecc81d4

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:stable - 2 out of 2 jobs passed

✔️ ci:test:relevant - 5 out of 6 jobs passed in 1 hour 33 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 167f47e46c2ea38101a1cfbf6d2ba237e138b484

Upstream Comparison:

Branch GIT ID: 881538f217c44bc46dc4c64ef4ef14a566d5e762
Jenkins Build URL: Acceptance Upstream DXP (master) #2055

ci:test:stable - 2 out of 2 jobs PASSED
2 Successful Jobs:
ci:test:relevant - 4 out of 6 jobs PASSED
4 Successful Jobs:
For more details click here.

This pull contains no unique failures.


Failures in common with acceptance upstream results at 881538f:
Test bundle downloads:

@liferay-continuous-integration
Copy link
Collaborator

Copy link

@diegonvs diegonvs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@bryceosterhaus
Copy link
Collaborator

ci:forward

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:relevant
  •     ci:test:sf

The pull request will automatically be forwarded to the user brianchandotcom if the following test suites pass:

  •     ci:test:relevant
  •     ci:test:sf
  •     ci:test:stable

@liferay-continuous-integration
Copy link
Collaborator

Skipping previously passed test suites:
ci:test:relevant
ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

All required test suite(s) passed.
Forwarding pull request to brianchandotcom.
Console

@liferay-continuous-integration
Copy link
Collaborator

Pull request has been successfully forwarded to brianchandotcom#103815
Console

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

Successfully merging this pull request may close these issues.

4 participants