Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007682TestLinkPluginspublic2016-09-22 15:512017-01-25 10:51
ReporterabIng 
Assigned Tofman 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version1.9.15 (2015 Q4) 
Fixed in Version1.9.16 (2016 Q4) 
Summary0007682: Invalid SQL query associated with plugins button
DescriptionWhen I click on plugin button the following error appears:
 ==============================================================================
 DB Access Error - debug_print_backtrace() OUTPUT START
 ATTENTION: Enabling more debug info will produce path disclosure weakness (CWE-200)
            Having this additional Information could be useful for reporting
            issue to development TEAM.
 ==============================================================================
#0 database->exec_query(/* debugMsg */ SELECT id, basename, enabled FROM plugins) called at [D:\Web\testlink-1.9.15\lib\functions\plugin_api.php:562]
#1 get_all_installed_plugins() called at [D:\Web\testlink-1.9.15\lib\plugins\pluginView.php:52]

-----
Really, the query wants to retrieve id field, but this field is not present in plugins table (it seems that plugin_id should be retrieved)
Steps To ReproducePress plugins button in navigation bar
TagsNo tags attached.
Database (MySQL,Postgres,etc)MS SQL
Browser
PHP Version
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships
related to 0007688closedfman Multiple errors in Postgres SQL scripts 

-  Notes
(0025439)
fman (administrator)
2016-09-25 10:09

thanks for your help
(0025446)
dstraube (reporter)
2016-09-26 14:47

I'll get the same error message with PostgreSQL. I assume it's because the tables "plugin" and "plugins_configuration" are different than the MySQL version.

In MySQL the primary key is called just "id", while it's "plugin_id" and "plugin_config_id" in the other databases. The columns "author_id" and the "creation_ts" are also missing.
(0025457)
fman (administrator)
2016-09-28 19:10

fixed with related issue
(0025924)
abIng (reporter)
2017-01-25 10:51

The problem is still present in 1.9.16:

==============================================================================
 DB Access Error - debug_print_backtrace() OUTPUT START
 ATTENTION: Enabling more debug info will produce path disclosure weakness (CWE-200)
            Having this additional Information could be useful for reporting
            issue to development TEAM.
 ==============================================================================
#0 database->exec_query(/* debugMsg */ SELECT id, basename, enabled FROM plugins) called at [D:\Web\testlink-1.9.16\lib\functions\plugin_api.php:562]
#1 get_all_installed_plugins() called at [D:\Web\testlink-1.9.16\lib\plugins\pluginView.php:52]

- Issue History
Date Modified Username Field Change
2016-09-22 15:51 abIng New Issue
2016-09-25 10:09 fman Note Added: 0025439
2016-09-26 14:47 dstraube Note Added: 0025446
2016-09-28 19:10 fman Relationship added related to 0007688
2016-09-28 19:10 fman Note Added: 0025457
2016-09-28 19:11 fman QA Team - Task Workflow Status => TBD
2016-09-28 19:11 fman Fixed in Version => 1.9.16 (2016 Q4)
2016-09-28 19:11 fman Assigned To => fman
2016-09-28 19:11 fman Status new => feedback
2017-01-25 10:51 abIng Note Added: 0025924
2017-01-25 10:51 abIng Status feedback => assigned



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker