View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0014473||FPC||Database||public||2009-09-01 11:12||2014-11-18 11:24|
|Reporter||Tom Duncan||Assigned To|
|Platform||Power Mac||OS||OS X|
|Summary||0014473: DBF shows no data on PowerPC OSX was DB GRID does not show any data|
|Description||This seems to be only on a Powerpc platform.|
I have been designing a Database program for a client, she has a powerpc and I have an Intel.
After many test versions, with access violation etc. I compiled a test version of the database only. It did run on the powerpc.
However on a dbgrid the title information was shown but no data was displayed.
I have been relying on Lazarus members for powerpc testing as I cannot see the result.
I have included a small test program with a dbf files to test this.
|Steps To Reproduce||Run the test program|
|Tags||dbf, dbgrid, powerpc|
|Fixed in Revision|
Dbase_Test.zip (312,429 bytes)
||This seems to be mostly about dbgrid rather than tdbf -> Lazarus|
||Is tdbf endian safe?|
Does this still happen with recent lazarus/fpc versions?
PowerPC Macs are a bit rare for us Lazarus developers too.
|FPC trunk has had many DBF fixes; it would be useful if somebody with a PowerPC Mac could redo the test.|
Tested on PowerPC Laz 1.2.2 by jwdietrich on the forum:
"The latest Lazarus version that supports PowerPC is 1.2.2. Will that be OK?
With Lazarus 1.2.2 I get a table with headers only (see attached screenshot), which is obviously not intended."
|Definitely an FPC issue see forum thread mentioned above.|
Last edited: 2014-11-18 11:24
Tested on big endian MIPS with FPC trunk:
- dbftool creates and reads tablelevel 4 (DBase4) and 7 (Visual dBase VII) ok
- test dbf from this issue is identified as tablelevel 7, code page 1252 but no data shown => i.e. same symptom as on OSX PPC suggesting an endian issue
Reading dbf from this issue on x86 Windows does show data
|2009-09-01 11:12||Tom Duncan||New Issue|
|2009-09-01 11:12||Tom Duncan||Status||new => assigned|
|2009-09-01 11:12||Tom Duncan||Assigned To||=> Joost van der Sluis|
|2009-09-01 11:12||Tom Duncan||File Added: Dbase_Test.zip|
|2009-09-02 08:26||Jonas Maebe||Relationship added||has duplicate 0014479|
|2009-09-02 08:29||Jonas Maebe||Relationship deleted||has duplicate 0014479|
|2011-10-15 16:09||Jonas Maebe||FPCOldBugId||=> 0|
|2011-10-15 16:09||Jonas Maebe||Assigned To||Joost van der Sluis =>|
|2011-10-15 16:09||Jonas Maebe||Status||assigned => new|
|2011-10-15 16:10||Jonas Maebe||Note Added: 0053018|
|2011-10-15 16:10||Jonas Maebe||Project||FPC => Lazarus|
|2011-10-16 12:50||Vincent Snijders||Note Added: 0053050|
|2011-10-21 07:44||Vincent Snijders||LazTarget||=> -|
|2011-10-21 07:44||Vincent Snijders||Note Added: 0053229|
|2011-10-21 07:44||Vincent Snijders||Status||new => feedback|
|2012-02-04 13:42||Zeljan Rikalo||Status||feedback => assigned|
|2012-02-04 13:42||Zeljan Rikalo||Assigned To||=> Jesus Reyes|
||Tag Attached: dbf|
||Tag Attached: dbgrid|
||Tag Attached: powerpc|
||Note Added: 0071350|
||Note Added: 0078016|
||Product Version||2.2.4 =>|
||Summary||DB GRID does not show any data => DBF shows no data on PowerPC OSX was DB GRID does not show any data|
||Note Added: 0079088|
||Project||Lazarus => FPC|
||Assigned To||Jesus Reyes =>|
||Status||assigned => acknowledged|
||Note Added: 0079198|
||Note Edited: 0079198||View Revisions|