Closed malakada closed 1 week ago
Not sure why your tests aren't running, but the CI on this project is currently broken too. Do you have any idea why this is broken for you now? We use this extension on a bunch of projects and haven't run into this issue before.
No clue @jarednorman! 😅 We just did a plain fresh install and ran into it. 🤷♀️ I'd assume our setup is probably pretty similar to yours then.
I do find that if you use the installer directly (such as in a seed file) like SolidusImporter.import! 'path/to/file.csv', type: :thing
it works just fine. It's just specifically navigating there in the browser that triggers this.
Yeah, that makes sense that using it directly would work. The issue is definitely with the search functionality on the admin pages.
Thank you! I was going to wait until CI was sorted out before merging this, but I encountered it myself on a new store and verified that your fix works.
With a fresh install of Solidus and the solidus_importer gem (using
gem "solidus_importer", github: "solidusio-contrib/solidus_importer"
), navigating to the import page in the admin GUI results in this RuntimeError:I have tested that this fix works in my environment.
When I run
bundle exec rspec
it says0 examples, 0 failures
so I'm not sure where to go to update the "Run specs on supported Solidus versions" that's failing on this PR.