View Issue Details

IDProjectCategoryView StatusLast Update
0006498JEDI VCLMiscellanouspublic2019-04-28 10:48
ReporteredijsAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0006498: TJvMemoryData and CopyStructure
DescriptionShouldn't CopyStructure also copy field properties (Required, Visible, etc)?
If I set MyField.Required := False; and then do CopyStructure(), I field required property becomes required = true. Why? Is there any other method I should use?
TagsNo tags attached.

Activities

2016-02-29 14:59

 

example.pas (1,821 bytes)

obones

2018-07-18 15:46

administrator   ~0021500

Could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this.

mh

2019-04-28 10:48

reporter   ~0021773

As I understand the code, it currently only copies the FieldDefs from source. Now we would need to decide if that is what it shall do or if it shall copy other properties not directly derived from the field defs. if so, we'd need to decide which ones to copy.

Issue History

Date Modified Username Field Change
2016-02-29 14:59 edijs New Issue
2016-02-29 14:59 edijs File Added: example.pas
2016-02-29 14:59 edijs IDE version => All
2016-08-07 13:15 AHUser Project JEDI Code Library => JEDI VCL
2018-07-18 15:46 obones Note Added: 0021500
2018-07-18 15:46 obones Status new => feedback
2019-04-28 10:48 mh Note Added: 0021773