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 Editing Tax Category in Spree 1.1 #1506

Closed
iloveitaly opened this issue May 7, 2012 · 3 comments
Closed

Error Editing Tax Category in Spree 1.1 #1506

iloveitaly opened this issue May 7, 2012 · 3 comments

Comments

@iloveitaly
Copy link
Member

After updating a TaxCategory in Spree 1.1 I get the following routing error: uninitialized constant Spree::TaxCategoriesController

For some reason Spree is redirect to /tax_categories/1 after updating.

Also, I'm getting undefined method 'tax_rate_url' for #<Spree::Admin::TaxRatesController:0x007f82d59ce4b0> when trying to create a new tax rate.

@radar
Copy link
Contributor

radar commented May 7, 2012

Just to confirm, this issue only exists with the spree_volume_pricing extension added, yes?

@radar
Copy link
Contributor

radar commented May 8, 2012

Yes, just confirmed this is what is causing it.

@radar
Copy link
Contributor

radar commented May 8, 2012

Okay, so this is problematic... we can take out the respond_override in spree_volume_pricing which will then cause the update call that is triggered when updating volume prices to redirect back to the product page rather than the volume price page. Good thing is though, this would fix the problem with the tax_category controller.

I'm going to do that until we can find a better way to fix this issue.

radar added a commit to spree-contrib/spree_volume_pricing that referenced this issue May 8, 2012
@radar radar closed this as completed May 8, 2012
iloveitaly added a commit to iloveitaly/spree_volume_pricing that referenced this issue May 28, 2012
* spree/master:
  Remove respond_override from Spree::Admin::VariantsController that was causing spree/spree#1506
marcreynolds pushed a commit to marcreynolds/spree_volume_pricing that referenced this issue Sep 13, 2016
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