Open exocode opened 5 years ago
I had the same issue. What's interesting - problem appears only on postgres database with i18n/globalize gems. When I create local demo on default sqlite3 - everything is ok.
Did you find any solution or workaround ?
No, I did not
It has to do with Postgres, which is stricter on proper SQL, I have the same issue(s). Looking for a solution as well, because it comes up through multiple paths (different methods of friendly_id and the globalize version of it).
It seems the main culprit is the *-globalize gems.
I also get ActiveRecord::StatementInvalid: PG::GroupingError: ERROR: column "spree_product_translations.id" must appear in the GROUP BY clause or be used in an aggregate function
for a different query.
Hi there, I try to get an fresh installed Spree Shop running with "spree_globalize".
• When I am logged in as admin • and I click on products • Then I see this error:
ActiveRecord::StatementInvalid in Spree::Admin::Products#index
Full Stacktrace here: http://pasted.co/2c4be2fa
What I've done
activemodel-serializers-xml
andglobalize
to resolve the dependenies)I uploaded a git Repo to jumpstart: https://github.com/exocode/demo520-spree364
•
git clone git@github.com:exocode/demo520-spree364.git
•cd demo520-spree364
•bundle install
•nano database.yml
to your needs •rake db:snapshot:restore
to restore same state where it failsI hope someone can help me.