To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100374
                 Issue #|100374
                 Summary|Changes to  Annotations via UNO API are not persistent
                        | anymore
               Component|Word processor
                 Version|OOo 3.0.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|programming
             Assigned to|writerneedsconfirm
             Reported by|mux2005





------- Additional comments from mux2...@openoffice.org Thu Mar 19 17:30:19 
+0000 2009 -------
Steps to reproduce:

0. Open the attached document (macros must be enabled)

1. Make sure that checkbox Tools/Options.../OpenOffice.org Write/View/Notes is
checked
(Note: The bug is independent of this setting, but the inconsistency between the
new Annotation code and the old API is more apparent this way)

2. You'll see a colored line pointing to a „post-it“ note to the right, reading
„Dies ist eine Notiz“.


3. Open the Navigator (Edit/Navigator or F5) and expand „Notes“. You'll see the
same text „Dies ist eine Notiz“

4. Press the button in the document. A macro will launch that shows 2 message
boxes with the text of the Content property of the annotation textfield, first
before and then after changing said property.


5. Confirm the 2 message boxes

6. Compare the „post-it“ note's text and the Navigator's. The Navigator
correctly reflects the API's POV (which is also what the second message box
prints out). However the post-it note is what is stored when you save the file.

7. Save the file and reopen it. The change to the note has been lost.

This means that any program or extension changing the contents of annotations,
will experience data loss. This is a very serious issue. Our custom form system
depends on annotations. All of the user's entered data is stored in an
annotation and will be lost when the user saves the document.

I can reproduce the issue under Linux and Windows 2000.

Classifying as P2 according to
http://www.openoffice.org/scdocs/ddIssues_EnterModify#priority
because its a regression and causes data loss in an easy-to-encounter way (at
least for the several 1000 users in our organization that use our custom form
system that stores its data in annotations)

---------------------------------------------------------------------
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to