- ๐ฌ๐งUnited Kingdom DanLew Birmingham
What's left to do here to get a D10 compatible release out?
- ๐ฎ๐ณIndia rahul1707
I have tested patch #3 on Drupal 9.5.7 and 10.0.3 and PHP 8.1. Patch applied cleanly, functionality is working as expected and making this module D10 compatible. Checked with upgrade status, no issue found.
So, moving this to RTBC. - ๐ณ๐ฑNetherlands tadas.rimkus
tadas.rimkus โ made their first commit to this issueโs fork.
- Status changed to RTBC
over 1 year ago 3:34pm 19 April 2023 - @tadasrimkus opened merge request.
- @tadasrimkus opened merge request.
- ๐ฉ๐ชGermany SolimanHarkas
I have tested patch #3 and it is also working fine with me!
- Status changed to Needs work
over 1 year ago 2:02pm 26 May 2023 - ๐ญ๐ทCroatia tamerzg
There is actually an issue when using Ajax on Views.
This is the error:
TypeError: $wrapper.removeOnce is not a function
Its probably due to jquery once change in D10:
https://www.drupal.org/node/3158256 โ - ๐ฉ๐ชGermany Anybody Porta Westfalica
Drupal 9 EOL is close and Drupal 10.1 is out. Any plans to fix this? Or perhaps look for new maintainers?
- ๐ฎ๐ณIndia rahul1707
Created patch to resolve "TypeError: $wrapper.removeOnce is not a function" issue.
Kindly review.
- Status changed to Needs review
over 1 year ago 11:40am 30 June 2023 - Status changed to RTBC
over 1 year ago 4:06pm 3 July 2023 - ๐ฎ๐ณIndia Bushra Shaikh
I have reviewed and checked patch#14 this works for Drupal 9.5 and Drupal 10.0. and 10.0.1
Screenshots of the compatibility on 9.5 have been attached for reference:Can be move to RTBC+1
- Status changed to Needs work
over 1 year ago 9:36pm 10 August 2023 - ๐บ๐ฆUkraine i-trokhanenko Lutsk ๐บ๐ฆ
The patches and MRs attached above apply smoothly, but unfortunately don't work as expected, @Bushra Shaikh have you tested some of them?
Issues I found:
- sometimes the pager disappears after clicking the "Load More" button.
- in a recent Drupal release, the AjaxCommand
viewsScrollTop
was renamed toscrollTop
, so, we should replace theviewsScrollTop
withscrollTop
in the VLMEventSubscriber.php
- Status changed to Needs review
over 1 year ago 9:40pm 10 August 2023 - ๐บ๐ฆUkraine i-trokhanenko Lutsk ๐บ๐ฆ
I've fixed the issues I mentioned in #17 and created a new patch, please QA.
Applying #18 to my usecase, I found 2 bugs:
Ajax returned twice but one result had empty data. Regardless, module's JS ran twice leading to all kind of strange behavior.
It was caused by response having 2 different "insert" commands ("replaceWith" and "prepend" (probably something unique to my usecase)) and module was not checking whether the command it is altering is really "replaceWith" one, despite comment in code noticing the possibility there might be other "insert" commands.
"Load more" button was staying even though there were no more results.
It was caused by setting text for when there are no more results empty (valid option in pager settings in views). In such case, pager template does not render anything and as a result, pager is missing in new content. So far it is valid behavior, but then JS, not finding pager in new content, left old one intact.
Attached patch adds fixes to these problems on top of #18. Module now only acts upon "replaceWith" "insert" command and when text for no more results is missing, it removes the pager entirely when there are no more results.
- First commit to issue fork.
-
i-trokhanenko โ
committed 4f704b58 on 2.x
Issue #3290508 by t_d_d: Automated Drupal 10 compatibility fixes
-
i-trokhanenko โ
committed 4f704b58 on 2.x
- Status changed to Fixed
about 1 year ago 6:19pm 17 September 2023 - ๐บ๐ฆUkraine i-trokhanenko Lutsk ๐บ๐ฆ
Committed the #19 patch. Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.