View Issue Details

IDProjectCategoryView StatusLast Update
0002605JEDI VCL00 JVCL Componentspublic2005-02-17 03:19
ReporteranonymousAssigned Tojfudickar 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version3.00 
Summary0002605: TJvCustomAppMemoryFileStorage.GetFullFileName bug?
Descriptioni have set the TJvAppXMLFileStorage like this:
  FLayout := TJvAppXMLFileStorage.Create(nil);
  FLayout.AutoFlush := True;
  FLayout.RootNodeName := 'Layouts';
  FLayout.Location := flCustom;
  FLayout.OnGetFileName := getLayoutFileName;

the getLayoutFileName doesn't get called unles I pre set the fileName property I think that the bug is in TJvCustomAppMemoryFileStorage.GetFullFileName

The code shoud read as:
  if FileName <> '' then
    Result := FileName
  else
  begin
TagsNo tags attached.

Activities

jfudickar

2005-02-08 10:12

developer   ~0006440

COuld you create a small sample app and add it to this entry?

Thanks
Jens

2005-02-09 01:46

 

0002605_TJvCustomAppMemoryFileStorage.GetFullFileName.zip (4,773 bytes)

jfudickar

2005-02-15 17:14

developer   ~0006501

Thansk for your sample. It helps allways (me).

It was a little bit more complex, but now it should be fixed in cvs. Please give it a try.

anonymous

2005-02-17 01:52

viewer   ~0006510

I think you can consider this issue closed.

jfudickar

2005-02-17 03:19

developer   ~0006511

As suggested by user :-)

Issue History

Date Modified Username Field Change
2005-02-05 06:56 anonymous New Issue
2005-02-08 10:12 jfudickar Note Added: 0006440
2005-02-08 10:12 jfudickar Status new => feedback
2005-02-09 01:46 anonymous File Added: 0002605_TJvCustomAppMemoryFileStorage.GetFullFileName.zip
2005-02-09 09:01 jfudickar Status feedback => assigned
2005-02-09 09:01 jfudickar Assigned To => jfudickar
2005-02-15 17:14 jfudickar Note Added: 0006501
2005-02-15 17:14 jfudickar Status assigned => feedback
2005-02-17 01:52 anonymous Note Added: 0006510
2005-02-17 03:19 jfudickar Status feedback => resolved
2005-02-17 03:19 jfudickar Fixed in Version => 3.00
2005-02-17 03:19 jfudickar Resolution open => fixed
2005-02-17 03:19 jfudickar Note Added: 0006511