-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
API calls fail on Solidus engines mounted with namespace #2700
Comments
I just noticed that solidus/core/app/assets/javascripts/spree.js.erb Lines 15 to 17 in cf9eebd
is evaluated as
while in my rails console I get
not sure how to proceed from here tho |
I'm running into I think the same issue with mounting not engine not at the root. Viewing and Creating new Taxons is not working when changing mounting location from '/'. 404 errors show file not found for "/api/taxononomies/" when mounting point is /store/ using the "Add Taxon" Button. |
I think I'm running into the same issue. basically mount with 'at' doesn't work for me at all, all product page links are broken as soon as I mount at something other than the root path. I don't understand why some links are working (i.e. admin sections) but the store itself is totally broken with incorrect product links. -edit- |
Steps to reproduce
mount Spree::Core::Engine, at: '/store/'
/store/orders/[:order_number]/cart
pageExpected behavior
I should be able to add product variants to order
Actual behavior
In JS console I see a failing call to
http:https://localhost:3000/api/orders/[:order_number]
and "Add Item" button is disabledSystem configuration
Solidus Version: ~> 2.5
note: I see this behavior only in my local environment, not in production
note 2: all the API calls are broken, not only
/api/orders
The text was updated successfully, but these errors were encountered: