To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112157
                 Issue #|112157
                 Summary|Error saving JavaScript Scripts
               Component|framework
                 Version|OOo 3.2
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|scripting
             Assigned to|ab
             Reported by|a_nova





------- Additional comments from [email protected] Sun Jun  6 10:35:46 
+0000 2010 -------
Recently, I started to teach myself scripting OOo using a scripting language I 
am 
familiar with, JavaScript.

However, I found that saving a script does not work; in particular, I tried 
(the 
screen shots are contained in the document attached to this issue):
1. create a new document (screen shot 1; I tried it both with a text and a 
spreadsheet document)
2. within the new document, select the menu item Tools > Macros > Organize 
Macros > 
JavaScript... (screen shot 2)
3. in the dialog box that opens ("JavaScript Macros"), select the newly created 
document and click the "Create..." button; specify a suitable name for the 
newly 
created library (or leave the default name unchanged; screen shot 3)
4. select the newly created library, and click the "Create..." button once 
again; 
specify a suitable name for the newly created script (or leave the default name 
unchanged; screen shot 4)
5. select the newly created script, and click the "Edit" button (screen shot 5)
6. from the "Rhino JavaScript Debugger" window that opens, select the menu item 
File > Save (screen shot 6; it does not matter if the source code has been 
changed 
or has been left unmodified)
7. an alert showing the message "Error saving file:" (without any details) is 
displayed (screen shot 7)
8. repeating step 6 causes an alert showing the message "Error saving file: 
com.sun.star.ucb.InteractiveAugmentedIOException: Got no data stream!" to be 
displayed (screen shot 8)
9. in any case, closing and reopening (by repeating steps 2 and 5) the "Rhino 
JavaScript Debugger" window shows that the contents of script have been lost 
(screen shot 9)

I could produce the problem both with the current version of OOo (3.2.0; about 
box 
is shown in screen shot 10) and the realease candidate (OOo_3.2.1rc2_20100521) 
which I had installed for a short time for testing on my OS (Windows XP with 
SP3 
installed); I also tried it with a version of OOo Portable I downloaded some 
time 
ago (version 3.1.0; screen shot 11) which worked flawlessly

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to