ArrayAppend Crashes R6

According to the R6 Help, the LotusScript ArrayAppend function has been changed in R6 - both input parameters now must be arrays. In R5, the second parameter could be a single value - for instance you could append a single string variant to a variant array of strings.

Not only is this not allowed in R6, but supplying a single value in the second parameter crashes the server immediately. No messages are posted to the notes log, I guess someone would have to analyze the server postmortem dump to find the problem.

The code that crashes the server in R6. The first two sets of fields are date fields, the second two are text -

		doc.TargetChangeFrom = Arrayappend(doc.TargetChangeFrom, doc.Prev_Target_Date(0))

		doc.TargetChangeTo = Arrayappend(doc.TargetChangeTo, doc.Target_Date(0))

		doc.TargetChangeBy = Arrayappend(doc.TargetChangeBy, user.Common(0))

		doc.TargetChangeReason = Arrayappend(doc.TargetChangeReason, doc.ChangeReason(0))

This code works fine -

		doc.TargetChangeFrom = Arrayappend(doc.TargetChangeFrom, doc.Prev_Target_Date)

		doc.TargetChangeTo = Arrayappend(doc.TargetChangeTo, doc.Target_Date)

		doc.TargetChangeBy = Arrayappend(doc.TargetChangeBy, user.Common)

		doc.TargetChangeReason = Arrayappend(doc.TargetChangeReason, doc.ChangeReason)

How can I send this bug to IBM? I know I’ve used ArrayAppend with a single second parameter in many places, hopefully the fix will be out before it causes problems…

Subject: ArrayAppend Crashes R6

This is still a bug 2 1/2 years later in 6.54 Domino