Issue 56709 - Using SDK Developersguide result into not saving embedded Scripting Framework Macros
Summary: Using SDK Developersguide result into not saving embedded Scripting Framework...
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: ab
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 13:51 UTC by svante.schubert
Modified: 2022-10-28 12:59 UTC (History)
2 users (show)

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


Attachments
Office Text document containing manually added macros (14.25 KB, application/vnd.oasis.opendocument.text)
2005-10-26 13:54 UTC, svante.schubert
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description svante.schubert 2005-10-26 13:51:07 UTC
Going to attach an example file, which embed one beanshell, javascript, java
macro taken from the Office share/Scripts directory. 
This file was created by unzipping it, placing the Macros in it, zipping it back.
These macros work after loading, but are lost, when the document is saved again.
Comment 1 svante.schubert 2005-10-26 13:54:43 UTC
Created attachment 30864 [details]
Office Text document containing manually added macros
Comment 2 thomas.benisch 2005-10-26 14:35:23 UTC
TBE->SUS: Your attached document is not valid. You added the Scripts folder, but
the META-INF/manifest.xml does not contain any references to the Scripts folder
and its content. Therefore I will close this task.
Comment 3 thomas.benisch 2005-10-26 14:38:28 UTC
closed
Comment 4 svante.schubert 2005-10-26 15:00:07 UTC
Reusing this issue as an SDK Developersguide issue
Comment 5 svante.schubert 2005-10-26 15:04:39 UTC
changing targets
Comment 6 svante.schubert 2005-10-26 15:19:36 UTC
Changed title, but leaving the (Sub-)Component as Issuetracker does mange to
change it.
Comment 7 thomas.benisch 2005-12-07 16:46:22 UTC
TBE->AB: As discussed to you.
Comment 8 ab 2006-05-22 15:43:54 UTC
ab->sus: I don't see the issue here. What's wrong with the Developersguide?
Comment 9 svante.schubert 2006-05-29 17:35:19 UTC
SUS->AB:
In the section about Java Macro Deployment "18.3.5  Compiling and Deploying Java
macros", the Developersguide tells nothing about the need to create a
META-INF/manifest.xml entry to list the new files of the ZIP used by the (Java)
macros.
Without the entry, new parts won't be saved.

This might occur for other Macro types as well, when they establish new files in
the ZIP.
Please check if it have to be mentioned on further spots.
Comment 10 ab 2006-06-19 16:24:42 UTC
Started