- ๐บ๐ธUnited States smustgrave
Since there's been no follow up going to close out. If still an issue in D11 please re-open updating the summary addressing the questions in the comments
- ๐ช๐ธSpain julio.raimondi Barcelona, Spain
Just a diff patch against --branch 10.4.x to address this and other warnings, prior to new release
- ๐ช๐ธSpain julio.raimondi Barcelona, Spain
#71 worked correctly for us https://www.drupal.org/project/drupal/issues/2833734#comment-15844466 ๐ Allow views attachment display to use its own pager options Needs work
- ๐ฆ๐บAustralia mstrelan
Is this still an issue with modern browsers and Drupal 11? If so, let's get some clear steps to reproduce.
- ๐ฌ๐งUnited Kingdom rakesh.gectcr Manchester
I'm still encountering the following error on the 11.x branch:
LogicException: The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution. in Drupal\Core\Database\Connection->__sleep() (line 1309 of /var/www/html/core/lib/Drupal/Core/Database/Connection.php).
I've also re-rolled the patch from #15 to apply cleanly against the 11.x branch.
- ๐ช๐ธSpain julio.raimondi Barcelona, Spain
โ Patch tested and verified on Drupal 10.4.7
This patch applies cleanly and resolves the issue where an attachment display in a View cannot render pager values when inheriting from the parent display.
๐ Steps to reproduce and test:
Created a View with a paged display (e.g., page display with a pager).
Added an attachment display that references the paged display.
Enabled the Render pager option in the attachment display.
๐ง Result:
With the patch applied, the attachment correctly renders pager values when configured to inherit and render them.
Without the patch, the attachment display does not show pager output, even if render pager is enabled.
๐งช No regressions observed. Views behavior remains stable, and the patch only touches Attachment.php.
๐ฆ Patch is based on an updated fork where the original patch was implemented but not applying cleanly. Reformatted to Drupal standards using a/ and b/ paths.
โ Marking as Needs Review โ patch applies cleanly, fixes the issue, and is safe to test.
- ๐บ๐ธUnited States smustgrave
Following up if anyone can update IS with steps, if no follow up could close out in 3 months.
- ๐บ๐ธUnited States smustgrave
I can verify this is still a valid bug
Fresh D11 install
Install the translation modules
Add a 2nd language
Verify there is a translation for Asc on the user translation page.
Go to a random view with a sort.
Switch to the 2nd language
See that (Asc) still shows in english. - ๐บ๐ธUnited States smustgrave
Since there's been no follow up to #7 going to close out. if still a bug in D11 please re-open.