Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in admin order due to select2_locale_es #3057

Closed
sechix opened this issue Jan 28, 2019 · 6 comments
Closed

Error in admin order due to select2_locale_es #3057

sechix opened this issue Jan 28, 2019 · 6 comments

Comments

@sechix
Copy link

sechix commented Jan 28, 2019

Describe the bug
After upgrade to master solidus version my atocomplete variant in order to add new items is not working

Solidus Version:
Master

To Reproduce
Go to admin -> order:

image

Tha autocomplete variant doesn't work. Checking errores I found this:
image

@kennyadsl
Copy link
Member

@sechix I think it could be related to #3027. Can you please paste your vendor/assets/javascripts/spree/backend/all.js file's content?

@sechix
Copy link
Author

sechix commented Jan 28, 2019

I have this in vendor/assets/javascripts/spree/backend/all.js:

vendor/assets/javascripts/spree/backend/all.js
captura de pantalla 2019-01-28 a las 13 22 20

@kennyadsl
Copy link
Member

@sechix I'm trying to replicate the issue but I can't see that autocomplete in admin -> order. Which page are you using exactly?

@sechix
Copy link
Author

sechix commented Jan 28, 2019

I realized that it is not related to variant autocomplete, none of the script work , I guess it is due to the jquery error that I have in every page of solidus admin.

image
I have added this to vendor all.js folling your pr but still error:
image

@kennyadsl
Copy link
Member

I think the error comes from the first error in console (the SyntaxError one). Can you see what it refers to?

@sechix
Copy link
Author

sechix commented Jan 28, 2019

Hi, yes I had a syntax error , sorry. Solved!

@sechix sechix closed this as completed Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants