<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/tpflashfiler/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/tpflashfiler/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 02 Jul 2010 12:09:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tpflashfiler/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>GetFullPathName missing check for errors. Empty filename?</title><link>https://sourceforge.net/p/tpflashfiler/bugs/75/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The call to GetFullPathName in FFExpandFileName does not check the return result for errors. This appears to be masking a problem that occurs when an empty filename is given to FFExpandFileName. Sometimes when given an empty filename it seemed to return random data, but this problem changed in unpredictable ways and I just circumvented it rather than found the source of the problem. I have altered my FFExpandFileName to something like this to cure these problems:&lt;/p&gt;
&lt;p&gt;function FFExpandFileName(const fn: TffFullFileName): TffFullFileName;&lt;br /&gt;
var&lt;br /&gt;
FNZ         : TffMaxPathZ;&lt;br /&gt;
EFNZ        : TffMaxPathZ;&lt;br /&gt;
FileNamePos : PAnsiChar;&lt;br /&gt;
i: integer;&lt;br /&gt;
err: integer;&lt;br /&gt;
begin&lt;br /&gt;
if Length(fn) = 0 then&lt;br /&gt;
Result := fn&lt;br /&gt;
else begin&lt;br /&gt;
i := GetFullPathName(FFStrPCopy(FNZ, fn), sizeof(EFNZ), EFNZ, FileNamePos);&lt;br /&gt;
if i = 0 then begin&lt;br /&gt;
err := GetLastError;&lt;br /&gt;
Exception.raise('FFExpandFileName error. ' + IntToStr(err) + ': ' + SysErrorMessage(err) + ' fn = ' + string(fn));&lt;br /&gt;
end;&lt;br /&gt;
Result := FFStrPasLimit(EFNZ, pred(sizeof(TffFullFileName)));&lt;br /&gt;
end;&lt;br /&gt;
end;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 02 Jul 2010 12:09:31 -0000</pubDate><guid>https://sourceforge.netbffb20712590f52c1488b868d51aba8313c7da15</guid></item><item><title>SetFilePointer error handling incorrect. Affects files &gt; 2Gb</title><link>https://sourceforge.net/p/tpflashfiler/bugs/74/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The SetFilePointer calls in fffile.inc in functions FFGetPositionFilePrim32, FFPositionFilePrim32 and FFPositionFileEOFPrim32 are followed by testing the result against $FFFFFFFF and raising an exception if equal. According to &lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa365541" rel="nofollow"&gt;http://msdn.microsoft.com/en-us/library/aa365541&lt;/a&gt;(VS.85).aspx&lt;/p&gt;
&lt;p&gt;this is incorrect for files over 2Gb. It says :&lt;/p&gt;
&lt;p&gt;"If the return value is INVALID_SET_FILE_POINTER and if lpDistanceToMoveHigh is non-NULL, an application must call GetLastError to determine whether or not the function has succeeded or failed."&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 20 Jun 2010 12:06:57 -0000</pubDate><guid>https://sourceforge.net014b2b4c2aaa9ef49b267175eb10a753ace3a448</guid></item><item><title>"File may be in use by another process." ciReopenSleep = 100</title><link>https://sourceforge.net/p/tpflashfiler/bugs/73/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;FF2.13. Under heavy transaction load my users sometimes get "File could not be opened. File may be in use by another process." It happens more frequently when they have a virus checker switched on. I have changed the ciReopenSleep constant in ffsrbase.pas from 25ms to 100ms and have one data point which suggests this has cured the problem. This constant is used in FFForceFlushFile procedure to Sleep then retry the CreateFile command in FFOpenFilePrim when it fails the first time with an INVALID_HANDLE_VALUE result. (It might make sense to introduce a sequence of Sleep and retry commands with progressively longer Sleeps into the FFForceFlushFile procedure.) Maybe this is related to "File I/O error on Win2K Advanced Server - ID: 673411" which possibly, only guessing from the error message, might be an earlier incarnation of the same bug. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 26 Apr 2010 11:20:30 -0000</pubDate><guid>https://sourceforge.netb47a90fcdbd039e1d3db4731d089c9ead0f4bc79</guid></item><item><title>Explorer Importing CSV DateTime broken</title><link>https://sourceforge.net/p/tpflashfiler/bugs/72/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When importing a date Time field from a csv file using&lt;br /&gt;
the explorer I am only getting the Date portion.&lt;/p&gt;
&lt;p&gt;I found and fixed the problem here:&lt;/p&gt;
&lt;p&gt;The file ffimdlgf.pas has the following error&lt;/p&gt;
&lt;p&gt;fftDateTime and fftSTDate are both getting set to&lt;br /&gt;
nftASCIIDate.&lt;/p&gt;
&lt;p&gt;But, with dateTime you really want the date and the&lt;br /&gt;
time so you should set asourceType to nftASCIITimestamp.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeremy English</dc:creator><pubDate>Mon, 29 Nov 2004 21:23:53 -0000</pubDate><guid>https://sourceforge.netdc19211f571d6b5efb59d799712499163ba4d786</guid></item><item><title>Access Violation when choosing menu items.</title><link>https://sourceforge.net/p/tpflashfiler/bugs/71/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If a server is not selected in the lservers list you&lt;br /&gt;
will get an access violation when you select any of the&lt;br /&gt;
config menu's items. It looks like they tried to avoid&lt;br /&gt;
this problem by trapping the onclick event and&lt;br /&gt;
disabling the menu items. The onclick event only&lt;br /&gt;
response to a left click. So right clicking off of the&lt;br /&gt;
selected item in the list box will reproduce this error.&lt;/p&gt;
&lt;p&gt;I made the following changes in the file Uffsmain.pas&lt;br /&gt;
to fix the problem.&lt;/p&gt;
&lt;p&gt;procedure TfrmFFServer.lvServersMouseDown(Sender: TObject;&lt;br /&gt;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);&lt;br /&gt;
begin&lt;br /&gt;
lvServersClick(Sender); {-jeremy. added to fix is&lt;br /&gt;
server selected problem}&lt;br /&gt;
end;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeremy English</dc:creator><pubDate>Wed, 02 Jun 2004 19:16:35 -0000</pubDate><guid>https://sourceforge.nete8c440f348f3904f00020336204e15f87b2e7aa1</guid></item><item><title>duplicate index record in win9x</title><link>https://sourceforge.net/p/tpflashfiler/bugs/70/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;im find a error when using server in win98. when i &lt;br /&gt;
browse records moving to next / prior in alphanumeric &lt;br /&gt;
indexes a duplication of index records occurs and a &lt;br /&gt;
corruption of the index and the data.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ricardo Oliveira</dc:creator><pubDate>Mon, 16 Jun 2003 15:16:14 -0000</pubDate><guid>https://sourceforge.netced22de3b0b093835ae7aeda286e9f98367583a2</guid></item><item><title>f213_r40 missing in ff2_d40.dpk</title><link>https://sourceforge.net/p/tpflashfiler/bugs/69/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Trying to install the ff2 package in Delphi 4.&lt;/p&gt;
&lt;p&gt;This package is missing:&lt;/p&gt;
&lt;p&gt;f213_r40;&lt;/p&gt;
&lt;p&gt;Solution:&lt;br /&gt;
Simply rename to &lt;/p&gt;
&lt;p&gt;ff2_r40;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 03 Apr 2003 09:47:58 -0000</pubDate><guid>https://sourceforge.net0e3529bc4cd798624f70204fe15c61f471965177</guid></item><item><title>Database takes a long time to open</title><link>https://sourceforge.net/p/tpflashfiler/bugs/68/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When I try to open the database the it takes a very long &lt;br /&gt;
time to do so when there is no Servername entered in &lt;br /&gt;
the LegacyTransport component. When I assign the &lt;br /&gt;
servername before opening it opens immediately.&lt;/p&gt;
&lt;p&gt;This was not the case in Flash Filer 2.12 It would open &lt;br /&gt;
immediately if there was no servername entered.&lt;/p&gt;
&lt;p&gt;Frederik Finck&lt;br /&gt;
Elbatron GmbH&lt;br /&gt;
finck@elbatron.de&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 02 Apr 2003 08:45:46 -0000</pubDate><guid>https://sourceforge.net8ed2bc1faec5f8401451e76b3dd11b07df4feb80</guid></item><item><title>UPPER clause in SQL causes error message</title><link>https://sourceforge.net/p/tpflashfiler/bugs/67/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When I try to use the clause UPPER in a SQL &lt;br /&gt;
statement I get the error message : 'Query execution &lt;br /&gt;
failed. Variant is not an array.' When I remove the &lt;br /&gt;
UPPER clause from the statement it works fine.&lt;/p&gt;
&lt;p&gt;The query worked with UPPER in Flash Filer 2.12.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 02 Apr 2003 08:40:34 -0000</pubDate><guid>https://sourceforge.neta09da8be3142fb79c5c27f0366a2e6fab4d2c1aa</guid></item><item><title>Wrong field in join ends in an assertion</title><link>https://sourceforge.net/p/tpflashfiler/bugs/66/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;select&lt;br /&gt;
pl.PONo as PONo,&lt;br /&gt;
coalesce(p.LotNo, '????') as LotNo,&lt;br /&gt;
pl.GrowerCode as GrowerCode,&lt;br /&gt;
pl.ItemCode as ItemCode,&lt;br /&gt;
coalesce(pl.Description, i.Description) as ItemDescr,&lt;br /&gt;
coalesce(pl.ShortDescription, i.ShortDescription) as &lt;br /&gt;
ItemShortDescr,&lt;br /&gt;
pl.ProductType as ProductType,&lt;br /&gt;
pt.ShortDescription as ProductTypeDescr,&lt;br /&gt;
pl.FlowerType as FlowerType,&lt;br /&gt;
ft.ShortDescription as FlowerTypeDescr,&lt;br /&gt;
pl.GradeCode as GradeCode,&lt;br /&gt;
g.Description as GradeDescr,&lt;br /&gt;
pl.Label as Label,&lt;br /&gt;
pl.Units as Units,&lt;br /&gt;
pl.Boxes as Boxes&lt;br /&gt;
from POLines pl&lt;br /&gt;
left join POs p on ((p.CompanyCode = '9999') and (p.No &lt;br /&gt;
= pl.PONo))&lt;br /&gt;
left join Items i on ((i.CompanyCode = '9999') and &lt;br /&gt;
(i.Code = pl.ItemCode))&lt;br /&gt;
left join ProductTypes pt on ((pt.CompanyCode = '9999') &lt;br /&gt;
and (pt.Code =&lt;br /&gt;
pl.ProductType))&lt;br /&gt;
left join FlowerTypes ft on ((ft.CompanyCode = '9999') &lt;br /&gt;
and (ft.Code =&lt;br /&gt;
pl.FlowerType))&lt;br /&gt;
left join Grades g on ((g.CompanyCode = '9999') and &lt;br /&gt;
(g.FlowerType =&lt;br /&gt;
ft.FlowerType) and (g.Code = pl.GradeCode))&lt;br /&gt;
where (pl.CompanyCode = '9999')&lt;br /&gt;
and (pl.PONo = '0000000001')&lt;/p&gt;
&lt;p&gt;I get:&lt;/p&gt;
&lt;p&gt;FlashFiler: Query624155046: Query execution failed:&lt;br /&gt;
Assertion failure (d:\opensource\ff2\source\ffsqldef.pas, &lt;br /&gt;
line 8223)&lt;br /&gt;
[$D538/54584]&lt;/p&gt;
&lt;p&gt;The offending field here is ft.FlowerType in the join &lt;br /&gt;
clause (should have been ft.Code) I think that this &lt;br /&gt;
should have been an exception because the field isn't &lt;br /&gt;
part of the ft (FlowerTypes) table&lt;/p&gt;
&lt;p&gt;Bert.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">AmorWorx</dc:creator><pubDate>Thu, 13 Feb 2003 18:09:18 -0000</pubDate><guid>https://sourceforge.netffb3bf6cbc81cd7a3cba08b4aaa6c7062d2c1c29</guid></item></channel></rss>