Issue 97875 - [Automation] GetLanguageInformation cannot access Setup.xcu
Summary: [Automation] GetLanguageInformation cannot access Setup.xcu
Status: CLOSED FIXED
Alias: None
Product: QA
Classification: Unclassified
Component: testscripts (show other issues)
Version: current
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: joerg.skottke
QA Contact: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-08 15:31 UTC by joerg.skottke
Modified: 2013-08-07 15:07 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 joerg.skottke 2009-01-08 15:31:11 UTC
Sometimes automated tests fail when run in batch mode after the user layer has
been removed because the user's Setup.xcu has not been written yet
(asynchronous, obviously).

The problem is found in iniinfo.inc::347, we need an alternative way of
accessing or some sort of delay here.
Comment 1 joerg.skottke 2009-01-08 15:45:38 UTC
Adding to CWS ooo301gsl4
Comment 2 joerg.skottke 2009-01-09 07:09:24 UTC
Set fixed.

The solution (hopefully) is to wait about one second for the file to become ready.
If this times out we go into the usual error handling.

Something like (pseudo code)

    while( IsMissing( SetupXCU ) )
         incr. a counter
         if ( max number of retries is reached )
             end sub
         endif
         wait a moment
    wend
Comment 3 joerg.skottke 2009-01-09 07:10:15 UTC
Fix in rev. 1.3.10.2.4.1
Comment 4 joerg.skottke 2009-01-12 13:06:02 UTC
Looks good on Linux so far, closing.
This issue goes into DEV300 as well.