Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.7.1
-
Component/s: None
-
Labels:None
Description
When the default value is empty in a quantity config option users may receive an error:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'default' at row 1 on line 196 in path_to_blesta\vendors\minphp\db\src\PdoConnection.php
To recreate:
- Start adding a config option
- Change type to quantity
- Fill in all fields but make the default field empty
- Attempt to receive error
Activity

Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Sprint | 4.8.0 Sprint 1 [ 92 ] |
Rank | Ranked higher |
Rank | Ranked higher |

Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |

Status | In Review [ 5 ] | Closed [ 6 ] |