Issue 105719 - Exporting BASIC library as extension creates zero sized file
Summary: Exporting BASIC library as extension creates zero sized file
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m60
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: joerg.skottke
QA Contact: issues@framework
Keywords: regression
: 107039 (view as issue list)
Depends on:
Blocks: 99999
  Show dependency tree
Reported: 2009-10-08 10:44 UTC by joerg.skottke
Modified: 2009-12-15 09:29 UTC (History)
2 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 joerg.skottke 2009-10-08 10:44:12 UTC
Automated test: framework/optional/f_basic_package_export_import.bas

Reproduction (from autotest)
Open one single writer document, modify it single
unchanged writer document is open
Open another document, we want to have two to see that they both appear in the
BASIC organizer
Open BASIC organizer
Select the second document
Click <Manage...>
Go to the libraries tabpage
hSelectBasicObjectOrganizerTab::Libraries-Tab is open
Select the document at pos. 4
Verify that the correct document has been selected
Click <New...>
Name the new library: tBasicExport
The correct library is selected in the libraries list
Click <Edit...>
Insert a test macro (something simple, e.g. a messagebox
hGetAccel::Enter with option: SelectAll
hGetAccel::Requested accelerator: <mod1 a> for language: en-US
hDeleteMacro::Using Accel: <mod1 a>
hInsertMacroFromFile::Inserted macro: tBasicExport
Close the BASIC IDE
Open the BASIC organizer
Select the work document
Libraries tab
hSelectBasicObjectOrganizerTab::Libraries-Tab is open
Select the new library
Export the package, close the document afterwards
Select to export as package
Save the file, automatic filename extension must be checked
Close libraires tabpage
Close BASIC organizer
Close all files
Comment 1 joerg.skottke 2009-10-09 08:01:14 UTC
Adjusted priority to P2 - data loss, added kwd "regression"
Comment 2 ab 2009-10-09 11:50:04 UTC
Not reproducible in fwk117, so obviously
a duplicate of the issue fixed there.

ab->jsk: Please also check on m61.

*** This issue has been marked as a duplicate of 105082 ***
Comment 3 Mechtilde 2009-10-19 10:18:55 UTC
duplicate -> closed
Comment 4 joerg.skottke 2009-11-19 12:38:52 UTC
This problem is new with OOo320m4 whreas fwk117 has been integrated into OOo320m1.
So this is neiteher fixed nor duplicate. 
Comment 5 joerg.skottke 2009-11-19 12:44:10 UTC
Re-evaluating issue on OOo320 and DEV300...
Please take no action until completed.
Comment 6 joerg.skottke 2009-11-19 13:17:24 UTC
In OOo320m5 the problem persists.
The .oxt file is created with zero size.
Comment 7 ab 2009-11-19 13:26:27 UTC
*** Issue 107039 has been marked as a duplicate of this issue. ***
Comment 8 cno 2009-11-19 15:50:06 UTC
sorry for the dup ;-)
Comment 9 ab 2009-11-25 09:16:20 UTC
ab->mav: As discussed...
Comment 10 mikhail.voytenko 2009-11-25 09:34:36 UTC
This bug ( the second reincarnation ) is caused by the changes in the package
component. The problem is that the package is no more able to overwrite the file
it is based on.
Comment 11 mikhail.voytenko 2009-11-25 12:43:40 UTC
fixed in fwk129
Comment 12 mikhail.voytenko 2009-11-25 12:46:26 UTC
mav->jsk: Please verify the issue.
Comment 13 joerg.skottke 2009-12-02 09:51:10 UTC
Automated test has been adjusted to be more timing tolerant (we had some "slot is already 
being executed" warnings). Fixed the filesize for the extension produced by this test and re-
enabled the warning if it does not fit. Updated wording ("package" is now "extension") to reflect 
what is written in the UI. We're printing out the fully qualified path to the generated extension for 
easier debugging.

The test claims all is well (Linux), running additional extension tests just to be sure, adding a 
few tests from the BASIC group as well.
Comment 14 joerg.skottke 2009-12-02 10:08:01 UTC
svn commit -m "fwk129: #i105719 - Fixed file size, wording and timing"
Sende          framework/optional/includes/
Ãœbertrage Daten .
Revision 277700 übertragen.
Comment 15 joerg.skottke 2009-12-15 09:29:26 UTC