Xippo / OM-Cookie-Manager

TYPO3 Extension - OM Cookie Manager | Feats: Consent Panel (Optin), Grouping and Google Tag Manager support
GNU General Public License v3.0
10 stars 9 forks source link

[BUGFIX] shortening details_nr for writelog method #3

Closed baschte closed 4 years ago

baschte commented 4 years ago

I get an error while i save, delete or move a group or a panel in TYPO3 backend. This happen because the details_nr field in the database table is declared as smallint (6) and can't hold 10 digits. Would appreciate it if you can merge and release this fix. 👍

Get Error: An exception occurred while executing 'INSERT INTOsys_log(userid,type,action,error,details_nr,details,log_data,tablename,recuid,IP,tstamp,event_pid,NEWid,workspace) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [1, 4, 0, 0, 1572862456, "Frontend Cache Clear by deleting Cookie Panel or Group (OM Cookie manager)", "a:0:{}", "", 0, "172.18.0.5", 1581540773, -1, "", 0]: Out of range value for column 'details_nr' at row 1

close #4

Xippo commented 4 years ago

Thx a lot for your commit.