Issue 46864 - Password Protected Libraries do not deploy properly
Summary: Password Protected Libraries do not deploy properly
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 1.1.2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
Keywords: needmoreinfo, oooqa
Depends on:
Reported: 2005-04-06 18:59 UTC by grval
Modified: 2017-05-20 11:31 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 grval 2005-04-06 18:59:09 UTC
If I make an uno package out of a macro library and I password protect it, then
none of the subroutines contained in the library are available to run (after
deploying it). In fact, even if I enter the password, none of the subroutines
get listed in the Macro window (but the modules are listed).

If I deploy the library without a password (no other changes), the library works
just fine.

This affects OOo 1.1.2 and 1.1.3 (haven't been able to test it on other versions).
Comment 1 flibby05 2005-04-06 20:11:02 UTC
needs to be retested with 1.1.4 or latest milestone build, otherwise we cannot
Comment 2 noel.power 2005-09-02 09:02:51 UTC
reassign to ab
Comment 3 ab 2005-09-02 14:07:07 UTC
ab->grval: I remember a serious bug (fixed in the mean time) that caused password 
protected libraries to vanish completely but I don't know if this is a
duplicate. Could 
you submit one of your broken packages as attachment? How exactly do you de-
ploy a macro library as package?
Comment 4 grval 2005-09-02 15:09:40 UTC
I emailed ab the package.

I create the package by zipping the basic folder for the library.

I deploy the package by copying it to share/uno_packages in the system Open
Office directory. I  run pkgchk -s .

The Library I sent is called TestPasswdProtect. The password is 'test'. It
contains one function:

Sub Main
	msgbox "This library loaded properly."
End Sub

I have since found a work around. You may want to try this as well, so you can
verify what is in the package. The library will work if you unzip the uno
package in user/share/basic (system Open Office directory) and edit script.xlc

Comment 5 grval 2005-09-02 15:11:40 UTC
Sorry, that last line should read:

The library will work if you unzip the uno package in share/basic (system Open
Office directory) and edit script.xlc appropriately.
Comment 6 ab 2006-03-20 12:40:32 UTC
OOo Later for now, needs check in OOo 2.0
Comment 7 grval 2006-03-20 16:01:06 UTC
OOo 2.0 crashes when I am in Run Macro and I select the library.

Version: 1.9.129

I should also note that my work around (unzipping and editting script.xlc)
doesn't work for machines that aren't accessing it from the same NFS mount it
was created on.

Comment 8 Marcus 2017-05-20 11:31:20 UTC
Reset assigne to the default "".