Issue 62991 - Scripts/javascript directory leftover after deleting all macros and libraries
Summary: Scripts/javascript directory leftover after deleting all macros and libraries
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 2.0.2
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2006-03-09 22:41 UTC by naquah
Modified: 2013-07-30 02:40 UTC (History)
2 users (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 naquah 2006-03-09 22:41:40 UTC
Problem: When all Javascript macros and libraries are removed from a document,
an empty directory "Scripts/javascript" is left over in the document file. When
the document is re-opened, the user will be presented with the Enable Macros or
Disable Macros question, even though there are not actually any macros in the
file anymore.

I am using Gentoo Linux, but I think this applies to any platform. This issue
occurs in every OOo program that has Javascript macros, and it doesn't matter
whether the file is saved as OpenDocument or as OOo 1.0 format.

Steps to reproduce:
1. create a new document or spreadsheet;
2. create a javascript macro library (and a javascript macro if you like) in the
current document;
3. save and re-open your document;
4. remove all javascript macros and javascript libraries from the current document;
5. save and re-open your document;
6. you'll see a warning asking you to either Enable or Disable Macros.

Expected result: The Scripts/javascript directory should be removed, so that the
warning/question described above is not shown.
Comment 1 naquah 2006-03-09 22:44:00 UTC
crap, can somebody change the title to "Scripts/javascript leftover"? (Or a
better summary if you have an idea.)
Comment 2 lars 2006-03-10 20:50:01 UTC
confirmed with 680_m158 on WinXP Pro SP2
Comment 3 Rob Weir 2013-07-30 02:40:01 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.