Issue 115237 - [automation] Type Mismatch assigning string to boolean
Summary: [automation] Type Mismatch assigning string to boolean
Alias: None
Product: QA
Classification: Unclassified
Component: testscripts (show other issues)
Version: DEV300m89
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: automat
QA Contact: issues@qa
Keywords: regression
: 115385 115912 (view as issue list)
Depends on:
Blocks: 111112
  Show dependency tree
Reported: 2010-10-25 12:57 UTC by
Modified: 2013-08-07 15:06 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description 2010-10-25 12:57:03 UTC
Since dev300m89 / ooo330m7 (could also be m4 or m5 - I did not find builds for them)
Seen by running tests with a testtool from dev300m89, but issue is also
available in OOo Macro Basic environment;

the following is not possible anymore:
dim b as boolean
dim s as string
b = 0
s = b
b = s ' Type Mismatch
' additionaly it would work with b=1 ...

So how to get a 'true' converted from a string to boolean? Which worked before...
Comment 1 2010-10-26 10:45:06 UTC
to show it clearer:

b as boolean

b = "true" ' works
b = "false" ' Inadmissible value or data type. Data type mismatch.

Comment 2 ab 2010-11-01 11:09:39 UTC
FIXED, OOo 3.3
Comment 3 2010-11-02 10:27:13 UTC
verified in CWS jsc331
testautomation works again.
basic ide in OOo, too.
Comment 4 ab 2010-11-04 16:32:27 UTC
*** Issue 115385 has been marked as a duplicate of this issue. ***
Comment 5 ab 2010-12-06 11:42:47 UTC
*** Issue 115912 has been marked as a duplicate of this issue. ***
Comment 6 2010-12-20 16:08:34 UTC
seen working in master cws - closing