View Issue Details

IDProjectCategoryView StatusLast Update
0003864JEDI VCL00 JVCL Componentspublic2006-08-23 14:37
Reporterboerema1Assigned Tojfudickar 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0003864: JvAppStorage: OnGetFileName does not get called
DescriptionOnGetFileName at the moment does not get called, because at the moment when it is checked whether it is assigned (in TJvCustomAppMemoryFileStorage.DoGetFileName) the property has not yet been set.

I debugged it and JvCustomAppMemoryFileStorage.SetOnGetFileName was called AFTER TJvCustomAppMemoryFileStorage.DoGetFileName.

This has to be a change since the last time I updated (July 5).
TagsNo tags attached.

Activities

boerema1

2006-08-23 07:58

reporter   ~0010005

I found a solution.
Add RecalculateFullFileName; to TJvCustomAppMemoryFileStorage.SetOnGetFileName

This does cause RecalculateFileName to be called twice in the case of Location=flcustom when loading from DFM but I think it is needed here anyway. Because in case you programatically set OnGetFilename, after that it has to recalculate that filename.

jfudickar

2006-08-23 14:37

developer   ~0010008

Changed in svn

Issue History

Date Modified Username Field Change
2006-08-21 15:15 boerema1 New Issue
2006-08-22 00:46 jfudickar Status new => assigned
2006-08-22 00:46 jfudickar Assigned To => jfudickar
2006-08-23 07:58 boerema1 Note Added: 0010005
2006-08-23 14:37 jfudickar Status assigned => resolved
2006-08-23 14:37 jfudickar Resolution open => fixed
2006-08-23 14:37 jfudickar Note Added: 0010008