Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007243TestLinkBug Tracking System - Redmine Integrationpublic2015-08-27 13:332015-12-31 17:33
ReporterNOC 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.9.13 (2015 #1) 
Fixed in Version 
Summary0007243: mb_strlen() is assumed but not neccessarily available in all php packages
Description1. When using Redmine as an issue tracker and adding in issue during test execution, the screen stays white after <Save>ing the test.

2. No new issue is created in Redmine.

3. Our investigation found out, that "/var/www/html/testlink/third_party/redmine-php-api/lib/redmine-rest-api.php" uses method "mb_strlen()".

4. "mb_strlen()" is not neccessarily part of all php packages and probably must be configured to be in the compiled php.

5. To overcome the issue, we created a local function

"[...]
private function mb_strlen( $str )
{
        $length = strlen( utf8_decode( $str ) );
        return $length;
}
[...]"

which we invoke

"[...]
$this->mb_strlen( ... )
[...]"

where needed.
TagsNo tags attached.
Database (MySQL,Postgres,etc)postgresql
BrowserFF
PHP Version5.4.16
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships
related to 0007347closedfman Create Test Cases from Requirements fails (Migrated to 1.9.13 from 1.9.9) mb_* functions issue ? 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-08-27 13:33 NOC New Issue
2015-12-31 17:33 fman Relationship added related to 0007347



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker