Closed (fixed)
Project:
Commerce Store Switch
Version:
1.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
26 Aug 2022 at 10:22 UTC
Updated:
8 May 2024 at 05:19 UTC
Jump to comment: Most recent
You get an error when using the store contextual filter argerument using the default value "Store filter".
Error: Object of class Drupal\commerce_store\Entity\Store could not be converted to string in implode() (line 83 of core/modules/views/src/Plugin/views/argument/NumericArgument.php).
Return the store ID, not the entity.
Update store filter default argument class to return the store ID.
I shall post a MR in a moment. Thanks for the excellent module by the way! :)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
littlepixiez commentedChanged it to return the store ID. :)
Comment #4
littlepixiez commentedComment #5
arunkumarkPatch will resolve the issue of Views argument.
Comment #7
arunkumark