View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009971 | mantisbt | plug-ins | public | 2008-12-15 01:33 | 2009-01-15 11:25 |
| Reporter | brianstv | Assigned To | jreese | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | git trunk | ||||
| Target Version | 1.2.0a3 | Fixed in Version | 1.2.0a3 | ||
| Summary | 0009971: InsertData in plugin schema not working as the wiki describes. | ||||
| Description | Using InsertData in the plugin schema does not work as the wiki describes, and would not work until line of code in core/plugin_api.php changed. | ||||
| Steps To Reproduce | The following fails: Throws the following error: | ||||
| Additional Information | If I change the code in plugin_api.php line 584 And change the schema to: It Works. | ||||
| Tags | No tags attached. | ||||
|
Investigating... |
|
|
I've committed a fix to the plugin API that properly implements the InsertData function to match both the wiki explanation and the method used in admin/schema.php:
Fix committed 1.2.x and 1.2.0a3 development trees. |
|
|
MantisBT: master dcde299e 2009-01-09 09:10 Details Diff |
Fix 0009971: plugin schema option InsertData did not use correct schema indexes. |
Affected Issues 0009971 |
|
| mod - core/plugin_api.php | Diff File | ||
|
MantisBT: master e3f68058 2009-01-09 09:10 Details Diff |
Fix 0009971: plugin schema option InsertData did not use correct schema indexes. |
Affected Issues 0009971 |
|
| mod - core/plugin_api.php | Diff File | ||