Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.0.0-b6
-
Component/s: Staff Interface
-
Labels:None
Description
The following error can occur when adding (and presumably editing) a recurring invoice:
General error: 1366 Incorrect integer value: '' for column 'taxable' at row 1
This likely occurs on some databases with sql_mode STRICT_TRANS_TABLES. I suspect that adding a recurring invoice includes a 'taxable' value in vars, but it is set to an empty string. Instead, it should not be set at all so that the table will default it to 0.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Rank | Ranked higher |
| Sprint | 4.0.0 Sprint 17 [ 35 ] |
| Rank | Ranked higher |
| Assignee | Tyson Phillips [ tyson ] | Jonathan Reissmueller [ jonathan ] |
Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Automated transition triggered when Tyson Phillips (Inactive) created pull request #226 in Stash -
| Status | In Progress [ 3 ] | In Review [ 5 ] |
| Resolution | Fixed [ 1 ] |
Automated transition triggered when Tyson Phillips (Inactive) merged pull request #226 in Stash -
| Status | In Review [ 5 ] | Closed [ 6 ] |
Your suspicion appears to be correct regarding STRICT_TRANS_TABLES, at least for one particular customer. See https://www.blesta.com/forums/index.php?/topic/8772-recurring-invoice-bug/