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

Saving tax rate without tax zone yields internal server error #667

Closed
boboldehampsink opened this issue Jan 29, 2019 · 1 comment
Closed

Comments

@boboldehampsink
Copy link
Contributor

Description

Saving a tax rate without tax zone (which is not required) yields internal server error:

PDOException: SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for integer: "" in /app/vendor/yiisoft/yii2/db/Command.php:1258

Steps to reproduce

  1. Create a tax rate
  2. Don't select tax .zone

Additional info

  • Craft version: 3.1.5
  • PHP version: 7.3.1
  • Database driver & version: PostgreSQL 10.6
  • Plugins & versions: Commerce 2.0.2
@lukeholder
Copy link
Member

Thanks for reporting, fixed for the next release.

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