View Issue Details

IDProjectCategoryView StatusLast Update
0009506mantisbtplug-inspublic2009-01-15 11:26
Reportermdelmarter Assigned Tojreese  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.0a2 
Fixed in Version1.2.0a3 
Summary0009506: Plugin schema option "InsertData" is not a valid callback for call_user_func_array()
Description

On the Wiki page for Plugins, under "Schema Management", it indicates that you can call "InsertData":
http://www.mantisbt.org/wiki/doku.php/mantisbt:plugins_overview#schema_management

However when I tried using this it threw the following error:
SYSTEM WARNING: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'InsertData' was given

I then found the function in admin/install.php and copied it to the file I was working in and the problem went away.

The function obviously needs to be defined somewhere other than admin/install.php...

TagsNo tags attached.

Activities

jreese

jreese

2008-09-25 13:41

reporter   ~0019463

Fixed in latest SVN trunk, r5590.

Related Changesets

MantisBT: master 421b050e

2008-09-25 13:35

jreese


Details Diff
Fix bug 0009506: plugin schema action InsertData used undefined function from admin/install.php

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5590 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0009506
mod - core/plugin_api.php Diff File