Issue 27893 - LIB: rtl_Bootstrap::expandMacrosFrom
Summary: LIB: rtl_Bootstrap::expandMacrosFrom
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: lars.langhans
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-16 12:01 UTC by lars.langhans
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description lars.langhans 2004-04-16 12:01:09 UTC
Bootstrap with 2 ini files, the executable named ini file contain a value:
SOFROMVALUE=${rtlrc::SOVALUE}

the nearby rtlrc contains:
RTLVALUE=qadev17

If I do a getFrom() of 'SOFROMVALUE' I get '${rtlrc::SOVALUE}' this is given as
an argument to expandMacrosFrom() but the expected result is not 'qadev17'
Comment 1 lars.langhans 2004-04-16 12:41:58 UTC
Change Targetmilestone
Comment 2 Daniel Boelzle [:dbo] 2004-04-16 14:58:13 UTC
accepted.
Comment 3 Daniel Boelzle [:dbo] 2004-05-10 11:08:46 UTC
works for me: when correcting your example (setting rtllc's SOVALUE=qadev17), I
get "qadev17".
Comment 4 Daniel Boelzle [:dbo] 2004-05-10 11:09:24 UTC
back to you, Lars.
Comment 5 lars.langhans 2004-05-24 08:29:38 UTC
Ok, the old description was not really good, here the new one.

Bootstrap with 2 ini files, the executable named ini file contain a value:
SOFROMVALUE=${rtlrc::SOVALUE}

The second ini file (name rtl.ini) contain
SOVALUE=src680_qadev

Now, if getFrom("SOFROMVALUE") is called, the result is empty, but expected was
'src680_qadev'

A second test show us(rtl_Bootstrap::expandMacrosFrom_002_2), that if SOVALUE
exist in the test executable named ini file that SOVALUE is taken from there.
Not from 'rtlrc' which is wrong.
Comment 6 lars.langhans 2004-05-24 08:36:05 UTC
At the moment the test (sal/qa/rtl/bootstrap/*) exist only in CWS qadev18 it is
possible just to copy the directory in an other CWS/sal directory and start it
from there. 
Comment 7 stephan.wunderlich 2004-06-03 17:31:34 UTC
SW->LLA: expandMacrosFrom_002 tries to expand a macro that contains a file-url,
this doesn't work with the current implementation and expandMacrosFrom_002_2
uses a 'relative'-reference ... unfortunately this points to the current working
directory which is 'sal/qa/rtl/bootstrap', but the rtl(.ini|rc) is where the
testshl2 executable can be found. I adjusted the first in qadev18, the second is
yours ;-)
Comment 8 lars.langhans 2004-06-29 13:54:27 UTC
ok, I mask the test expandMacrosFrom_002_2() and check in the last changes
Test runs through.
Comment 9 lars.langhans 2004-09-09 08:29:04 UTC
Done