- Issue created by @loopy1492
- Status changed to Needs review
about 1 year ago 1:21pm 31 October 2023 - Status changed to RTBC
about 1 year ago 1:23pm 31 October 2023 - 🇮🇳India keshavv India
Patch #3 is good to merge. There are no deprecations in the module for Drupal 10.
We can release it for Drupal 10. - 🇺🇸United States ngreenup
I am not getting this to work in Drupal 10. There isn't another module that does what this beauty does. I have a handful of sites that cannot be upgraded to D10 because of this module. Happy to try and help if I can, but I have no clue why it's not working. When I update the module info file to allow D10 it seems to work. But if i visit a view and try to use a selective filter the site shows an error. The log shows:
Drupal\Core\Database\DatabaseExceptionWrapper: Exception in My View [my_view]: SQLSTATE[42S22]: Column not found: 1054 Unknown column....
If this is no longer the way, someone please point me to the new way. I tried better exposed selective filters, views_field_select_filter, and entityreference_filter and didn't find what I needed.
- 🇺🇸United States ngreenup
After many hours of testing I have figured out that the module works in drupal 10 but only for some types of fields. In Drupal 7,8 and 9 I am using entity reference fields as exposed selective filters and everything works great. But once I update to drupal 10 those filters no longer work. I can't submit it as a proper bug report on the d10 branch because that is not an option until a d10 branch is published. The only errors I am seeing are, "The website encountered an unexpected error. Try again later." and when I check the log I see the following:
Drupal\Core\Database\DatabaseExceptionWrapper: Exception in Test Filters[test_filters]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'node__field_strain_ref.field_strain_ref' in 'where clause': SELECT "node_field_data"."created" AS "node_field_data_created", "node_field_data"."nid" AS "nid" FROM "node_field_data" "node_field_data" LEFT JOIN "node__field_strain_ref" "node__field_strain_ref" ON node_field_data.nid = node__field_strain_ref.entity_id AND node__field_strain_ref.deleted = :views_join_condition_0 AND (node__field_strain_ref.langcode = node_field_data.langcode OR node__field_strain_ref.bundle = :views_join_condition_2) WHERE ("node_field_data"."status" = :db_condition_placeholder_3) AND ("node_field_data"."type" IN (:db_condition_placeholder_4)) AND ("node__field_strain_ref"."field_strain_ref" IN (:db_condition_placeholder_5)) ORDER BY "node_field_data_created" DESC LIMIT 11 OFFSET 0; Array ( [:db_condition_placeholder_3] => 1 [:db_condition_placeholder_4] => plant [:db_condition_placeholder_5] => 1007 [:views_join_condition_0] => 0 [:views_join_condition_2] => plant ) in main() (line 19 of /var/www/html/index.php).
I looks like this module has a bunch of maintainers. Can someone get the D10 version published as alpha so i can post issues about that version? I would chip in on a bounty to get this module fulling working in D10.
- First commit to issue fork.
-
joelpittet →
committed c84a89cd on 8.x-1.x authored by
loopy1492 →
Issue #3348545 by loopy1492: Drupal 10 Readiness
-
joelpittet →
committed c84a89cd on 8.x-1.x authored by
loopy1492 →
- Issue was unassigned.
- Status changed to Fixed
8 months ago 5:50pm 5 April 2024 - 🇨🇦Canada joelpittet Vancouver
Thank you all for trying to get this ready and @loopy1492 for the MR and patch
Automatically closed - issue fixed for 2 weeks with no activity.