In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000971 [In-Portal CMS] Data Management bug report always 2011-01-25 03:40 2011-05-18 13:19
Reporter alex View Status public Project Name In-Portal CMS
Assigned To Developer
Priority normal Resolution open Platform
Status active   OS
  OS Version
ETA none Fixed in Version Product Version 5.1.2-B1
  Target Version Icebox Product Build
Time EstimateNo estimate
Summary 0000971: Function "fgetcsv" doesn't work with UTF-8 files from CRON
Description Function "fgetcsv" doesn't work with UTF-8 files from CRON.

This happens, because it takes "LANG" environment variable into account, which is missing by default (like all environment), when cron scripts are executed.

http://www.php.net/fgetcsv - See notes section.


We can do "setenv" from kApplication::Init for case, when LANG could be missing. Not sure about PHP4, but this will work in PHP5 for sure.
Steps To Reproduce
Additional Information If we will use "fgetcsv" function, then we must set proper environment variable, that should match to parsed file encoding before continuing.

This could affect CSV file import, when grid has non-english symbols in it.
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-bugs/aIpQRyA3p3I/discussion
Change Log Message Fixed CSV file encoding problems from CRON
Estimate Points 0
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-05-18 13:19 Dmitry Target Version 5.1.3 => Icebox
2011-04-04 11:55 Dmitry Target Version Icebox => 5.1.3
2011-01-25 03:40 alex New Issue
2011-01-25 03:40 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/aIpQRyA3p3I/discussion
2011-01-25 03:40 alex Change Log Message => Fixed CSV file encoding problems from CRON



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker