View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010838 | mantisbt | administration | public | 2009-08-16 11:10 | 2010-02-22 14:34 |
Reporter | peixedragao | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0rc1 | ||||
Target Version | 1.2.0 | Fixed in Version | 1.2.0 | ||
Summary | 0010838: APPLICATION WARNING #300: String 'configuration_corrupted' not found. | ||||
Description | After changing workflow transitions, a get the folowing entry on the configuration report: Username: All users (Note: Above texts actually show all in portuguese as I'm using portuguese translation) | ||||
Steps To Reproduce | 1) login as Admin | ||||
Tags | patch | ||||
Attached Files | adm_config_report.patch (413 bytes)
--- adm_config_report.php.orig Thu Sep 17 01:46:04 2009 +++ adm_config_report.php Thu Sep 17 01:46:13 2009 @@ -57,7 +57,7 @@ echo string_nl2br( string_html_specialchars( "'$t_value'" ) ); return; case CONFIG_TYPE_COMPLEX: - $t_value = @unserialize( utf8_decode( $p_value ) ); + $t_value = @unserialize( $p_value ); if ( $t_value === false ) { $t_corrupted = true; } | ||||
+1 here exact same issue on v1.2.0rc1 |
|
same here v1.2.0rc1 german I looked into it and it seems only to happen if there are utf8 encoded strings in the serialized string. I attached a simple patch that fixes this. |
|
Fixed there: |
|
Oops I didn't see this bug in amongst all the others. Thanks for fixing it Daniel, I've committed your patch to 1.2.x and 1.3.x :) |
|
MantisBT: master-1.2.x 5b23468d 2009-09-27 10:33 Committer: dhx Details Diff |
Fix 0010838: APPLICATION WARNING #300: String 'configuration_corrupted' not found. Database connection seems to be alread in utf8 so there is no need to convert the read value from database to utf8. Added the missing english localization. Signed-off-by: Daniel Tschinder <code@tschinder.de> Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010838 |
|
mod - adm_config_report.php | Diff File | ||
mod - lang/strings_english.txt | Diff File | ||
MantisBT: master b165230d 2009-09-27 10:33 Committer: dhx Details Diff |
Fix 0010838: APPLICATION WARNING #300: String 'configuration_corrupted' not found. Database connection seems to be alread in utf8 so there is no need to convert the read value from database to utf8. Added the missing english localization. Signed-off-by: Daniel Tschinder <code@tschinder.de> Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010838 |
|
mod - adm_config_report.php | Diff File | ||
mod - lang/strings_english.txt | Diff File |