Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.7.1
-
Component/s: Staff Interface
-
Labels:None
Description
When creating a note, it's possible to get a white screen / error when providing a title length that exceeds the field limit. Presumably this is varchar 255. An error is logged:
general.ERROR: exception 'PDOException' with message 'SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'title' at row 1' in /home/user/public_html/vendors/minphp/db/src/PdoConnection.php:196...
We should be doing some validation and provide a proper error response if the field is too long.
Activity
Paul Phillips
created issue -
Paul Phillips
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Paul Phillips
made changes -
Rank | Ranked lower |
Tyson Phillips (Inactive)
made changes -
Sprint | 4.8.0 Sprint 1 [ 92 ] |
Tyson Phillips (Inactive)
made changes -
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Jonathan Reissmueller
made changes -
Fix Version/s | 4.7.1 [ 11126 ] |
Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
Status | Open [ 1 ] | In Progress [ 3 ] |
Automated transition triggered when Jonathan Reissmueller created pull request #735 in Stash -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Jonathan Reissmueller
made changes -
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 10 minutes [ 600 ] | |
Worklog Id | 12579 [ 12579 ] |
Jonathan Reissmueller
made changes -
Fix Version/s | Short Term [ 10800 ] | |
Original Estimate | 0 minutes [ 0 ] |
Automated transition triggered when Tyson Phillips (Inactive) merged pull request #735 in Stash -
Status | In Review [ 5 ] | Closed [ 6 ] |