View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011999 | mantisbt | customization | public | 2010-06-07 04:20 | 2017-01-31 04:05 |
| Reporter | KarlReichert | Assigned To | atrol | ||
| Priority | high | Severity | block | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 1.2.1 | ||||
| Summary | 0011999: missing include files in helper_api.php | ||||
| Description | I tried customizing strings on a per project base, as described here: http://www.futureware.biz/blog/index.php?title=customising_localised_strings_in_mantis&more=1&c=1&tb=1&pb=1 (lower part of the text) Doing that, I found that in helper_api.php in function helper_get_current_project() the functions project_exists() and access_has_project_level() are called, but not found, because the files, where they are defined, are not included. I had to add require_once( 'project_api.php' ); at the beginning of file helper_api.php to get it working. | ||||
| Steps To Reproduce | Try to customize strings as described in http://www.futureware.biz/blog/index.php?title=customising_localised_strings_in_mantis&more=1&c=1&tb=1&pb=1 (lower part). When opening the bug report page, you will get an error telling that function project_exists() was not found. | ||||
| Tags | No tags attached. | ||||
|
This should be resolved in 1.3.x as I redid the include system for the API. I'll leave this issue open as it affects people writing plugins for 1.2.x |
|
|
Hi, I have the same issue but since I added project_api.php and access_api.api at the beginning of helper_api.php, all mantis issues with a relationship do not work. |
|
|
We are resolving this issue as "no change required", because it was reported against an old version of MantisBT which is no longer supported. We recommend that you upgrade to the latest stable version [1]; if after doing so the problem still exists, do not hesitate to reopen the issue. |
|