View Issue Details

IDProjectCategoryView StatusLast Update
0005719Simple:Pressdatabase and sqlpublic2017-07-11 01:58
ReporterMr PapaAssigned ToSP Team 
PriorityhighSeverityN/AReproducibilityhave not tried
Status closedResolutionfixed 
Product Version5.8 
Target Version5.8Fixed in Version5.8 
Summary0005719: review usage of all spdb->update()
Descriptionseems this routine requires the query data field to be an array... not sure where that is documented, but we have multiple locations throughout the codebase (6.0) that are not passing arrays... these will apparently fail as I just found out after 30 minutes of debugging...

Need to review and correct those non array instances... same goes for fields here..
TagsNo tags attached.
change_log_textfix db update usage to pass arrays for fields and data
typedefect

Activities

svn

svn

2017-01-14 20:52

administrator   ~0019042

Changeset [15038] by steve on 2017-01-14 15:52:11 -0500 (Sat, 14 Jan 2017)

test issue 0005719 fix db update usage to pass arrays for fields and data

 Changed Files:

U plugins/threading/library/sp-threading-database.php
U plugins/topic-status/library/sp-topicstatus-support.php

 Differences:

 http://websvn.simple-press.com/revision.php?repname=Simple:Press&path=%2F&rev=15038
svn

svn

2017-01-14 20:52

administrator   ~0019043

Changeset [15039] by steve on 2017-01-14 15:52:29 -0500 (Sat, 14 Jan 2017)

test issue 0005719 fix db update usage to pass arrays for fields and data

 Changed Files:

U trunk/sp-api/sp-api-class-spcauths.php

 Differences:

 http://websvn.simple-press.com/revision.php?repname=Simple:Press&path=%2F&rev=15039

Issue History

Date Modified Username Field Change
2017-01-14 18:51 Mr Papa New Issue
2017-01-14 18:55 Mr Papa Description Updated View Revisions
2017-01-14 20:47 Mr Papa Assigned To => SP Team
2017-01-14 20:47 Mr Papa Status new => assigned
2017-01-14 20:52 svn =>
2017-01-14 20:52 svn Note Added: 0019042
2017-01-14 20:52 svn Status assigned => testing
2017-01-14 20:52 svn =>
2017-01-14 20:52 svn Note Added: 0019043
2017-01-22 17:02 Mr Papa Status testing => closed
2017-01-22 17:02 Mr Papa Resolution open => fixed
2017-01-22 17:02 Mr Papa Fixed in Version => 6.0
2017-01-22 17:02 Mr Papa change_log_text update => fix db update usage to pass arrays for fields and data
2017-07-11 01:57 Mr Papa Product Version 6.0 => 5.8
2017-07-11 01:58 Mr Papa Fixed in Version 6.0 => 5.8
2017-07-11 01:58 Mr Papa Target Version 6.0 => 5.8