Problem/Motivation

#3247625: Fix admin Content and User Admin People view old config after change of schema config by the Views Bulk Operation module

Reported by Ahmad Abbad
When we have a number of items less than the limit it's will show the second page without items and the pager is shown.

Steps to reproduce

Given that the Varbase Media module was installed
And having 7 "Gallery" media items
And having 50 "Image" media items
When navigating to the "/admin/content/media"
Then should see the pager at the bottom of the page with "50" as number of items
When filtering "Media type" with "Gallery"
And filtering with "10" as the number of items
And pressed the "Filter" button
And the page was directed to "/admin/content/media?status=All&name=&type=gallery&langcode=All&created_from=&created_to=&items_per_page=10" page
Then should not see any pagers
Media Table - in Varbase Media with filter and pager

Given that the Varbase Media module was installed
And having 7 "Gallery" media items
And having 50 "Image" media items
When navigating to the "/admin/content/media-grid"
Then should see the pager at the bottom of the page with "50" as number of items
Media Grid - in Varbase Media full view and no filters
When filtering "Media type" with "Gallery"
And filtering with "12" as the number of items
And pressed the "Apply filter" button
Then should not see any pagers
Media Grid - in Varbase Media with filter and pager

Proposed resolution

Update VBO config

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Fix VBO configs
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Release varbase-9.0.3, varbase_media-4.0.5

Varbase update type:

  • ➖ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ✅ Forced Update if Unchanged

User interface changes

Media Table after the fix
Media Table after the fix

Media Grid after the fix
Media Grid after the fix

API changes

  • N/A

Data model changes

  • N/A

Comments

RajabNatshah created an issue. See original summary.

rajab natshah’s picture

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

  • RajabNatshah committed 5a58977 on 9.0.x
    Issue #3249335: Fix Media Table and Media Grid view old config after...
rajab natshah’s picture

Assigned: rajab natshah » mohammed j. razem
Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-9.0.3, +varbase_media-4.0.5
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

rajab natshah’s picture

  • RajabNatshah committed d05f0e9 on 9.0.x
    Issue #3249335: Fix Media Table and Media Grid view old config after...
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

❌ Update Release Notes and Update Helper on new feature change/addition
✅ Forced Update if Unchanged

rajab natshah’s picture

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.