Apache OpenOffice (AOO) Bugzilla – Issue 20323
StarBasic booleans and Null are read-only in Arrays
Last modified: 2013-02-24 21:08:10 UTC
In a StarBasic Variant array, if you try to assign a new element to an index occupied by a boolean or the Null object, you get an error: "Read-Error. This property is read-only." This is illustrated for booleans in the following snippet: Sub Main Dim AnArray() AnArray = Array( "isFixed", true ) 'No problem with next line; the original type is string. AnArray(0) = "hello" 'Next line triggers "read-only" error, the type being boolean. AnArray(1) = false End Sub I found this in a Linux OOo1.1RC, but i assume that this bug is on all platforms. I do not know if there are any other object types which manifest this bug.
Trying to reassign to Andreas Bregas (AB), as directed by Christoph Neumann.
*** Issue 20324 has been marked as a duplicate of this issue. ***
-> OOo 2.0
cp: retargeted to Office-Later due to limited ressources
set to P4.
cyb->ab: Still a bug in 2.0 . Adding myself to cc.
Fixed
ab: According to discussion with kso/sw -> 2.0.3
-> tbo re-open issue and reassign to tbo@openoffice.org
reassign to tbo@openoffice.org
reset resolution to FIXED
OK in cws ab19; verified
integrated in src680m163 close