To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107372
                 Issue #|107372
                 Summary|DocumentProperties service ignores month/year in meta:
                        |editing-duration
               Component|framework
                 Version|OOo 3.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mst
             Reported by|mst





------- Additional comments from [email protected] Wed Dec  2 09:15:25 +0000 
2009 -------
copying comment by bei from issue 97029:

bei->mru,mst,os: I am mostly but not totally satisfied yet. Although the main
problems have been solved there is one issue left with the import of a duration
value in the <meta:edit-duration> field which is shown as total editing time in
the User Interface. The problem here is that if there is a value being used
which uses month and year subparameters these are simply ignored. This is not in
accordance to the recommendation currently discussed in the OASIS ODF
Interoperability and Conformance TC which I have communicated to mst by private
email before my vacation last week in addition to the comments in this issue.
The recommendation is that a ODF Producer should not use Month and Years
subparameters (which fortunately does not seem to be the case) but that a
consumer should interpret them like that a month there always means 30 Days and
a Year there always means 365 days. Calculating them as zero no matter what was
specified is an error. I will attach a test document
(unusual_editing_duration.odt) with a editing duration of 1 year 1 month 1 day 1
Hour 15 Minutes and 3 Seconds which can be used to demonstrate the error. The
total editing time shown for this document in the OpenOffice.org UserInterface
of CWS os137 is 25:15:03. This shows that month and year subvalues have been
completely ignored while days, hours, minutes and seconds have been use for
calculating the value shown.

bei->mru,mst,os: large values for editing duration are also not imported
correctly. Will attach another test document (large_editing_duration.odt)
demonstrating this. This document has an editing duration of 400 Days 1 Hour 22
Minutes and 54 Seconds. The value shown in OpenOffice.org of current os137 CWS
is 1011:29:08 which is something completely different. I suppose there is still
some Time class used somewhere which can not handle these values instead of the
new Duration class.

---------------------------------------------------------------------
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