opencrx / opencrx

openCRX Core Project
64 stars 31 forks source link

Missing Name-Field entrys running "Tools - MailMerge --> RTF Document" in openCRX v5.2.2 (CRX) #126

Closed carusoe11 closed 1 year ago

carusoe11 commented 1 year ago

Generating RTF-documents for letter-labels the content of the name-fields (FirstName and LastName) are missing.

The fields for BusinessStreet, BusinessCity and BusinessPostalCode are printed out correctly.

rtf_export

The MailMergeController.java shows only Iterators for PostalAddressLine and PostalStreet. The PostCode is transfered correctly.

Bildschirmfoto vom 2023-07-29 08-14-50

christoph-mueller-crixp commented 1 year ago

please note that the address label is generated ENTIRELY from data available in the object PostalAddress - the reason why first/last name are missing in the labels you generated is most likely attributable to the fact that the attribute postalAddressLine (labelled "Addresszeile(n)" in German) is empty - see the following screenshot for an example with populated and empty postalAddressLine: postalAddressLine

To summarize: The object PostalAddress should be populated with the data that as you need it on a postal address label, either manually or based on an algorithm (that you can implement as a wizard, for example)

carusoe11 commented 1 year ago

Using the very helpfull hints given above the feature runs without any problems. - Perfect. Excusions for causing a false alarm....