Closed (fixed)
Project:
Commerce Flat Rate
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2012 at 10:29 UTC
Updated:
30 Nov 2012 at 23:00 UTC
If you configured a shipping service with taxes and you disable the Tax module, you will end up with an inaccessible Drupal site because of a call to an undefined function "commerce_tax_rate_load()". This patch adds Commerce Tax to the dependency list so you are not able to disable the tax module without disabling the Flat Rate module.
| Comment | File | Size | Author |
|---|---|---|---|
| add_commerce_tax_as_dependency.patch | 344 bytes | elmotri |
Comments
Comment #1
simon georges commentedClosing #1391418: Disabling commerce_tax breaks the site as a duplicate of this issue.
Changing status as there is a patch to review.
Comment #2
TuFrac commentedChanging status to reviewed & tested by the community
Comment #3
rszrama commentedInstead of adding the dependency, I've just wrapped this code in a check to see if the Tax module is installed. This is how we treat it on the tax rate edit form.