CMS MADE SIMPLE FORGE

Form Builder

 

[#8131] Flat file header only delimited with CR

avatar
Created By: rory rory (goallblacks)
Date Submitted: Wed Jul 11 20:28:09 -0400 2012

Assigned To:
Version: 0.7.2
CMSMS Version: None
Severity: Major
Resolution: None
State: Closed
Summary:
Flat file header only delimited with CR
Detailed Description:
In DispositionFile.class.php the code at lines 81 to 84:

if (substr($newline,-1,1) != "\n")
      {
	  $newline .= "\n";
      }

needs to be repeated after line 63 to ensure the header line is correctly
delimited with a CR+LF.

The current coding only adds CR (0x0D) to the headerwhich is insufficient for
windows systems as they require CR+LF (0x0D0A)

This causes windows to read the header and first line of data as a single line.


History

Comments
avatar
Date: 2013-09-02 15:45
Posted By: Tapio Löytty (Stikki)

0.7.4 is out. Closing. If still occurs, open new ticket.
      
Updates

Updated: 2013-09-02 15:45
resolution_id: => 5
cmsms_version_id: 29495 => -1
state: Open => Closed