https://bugs.freedesktop.org/show_bug.cgi?id=39694

Michael Stahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED
         AssignedTo|[email protected] |[email protected]
                   |desktop.org                 |
           Keywords|                            |regression

--- Comment #8 from Michael Stahl <[email protected]> 2012-03-02 09:59:11 PST 
---
this is a regression in OOo 3.4, from CWS sw34bf01
(8485708f3001fca132c3353c464fe7187ef62bed),
related to fix for issue 112425, issue 85766.

in that commit i had changed the expansion of Writer text fields
such that they are only actually expanded via the text formatting,
and all the other callers of SwField::ExpandField get a cached value,
because for many field types some setup is necessary to get a
correct value, which only the text formatting does properly.

this has introduced a race condition: if the field value is
requested before the layout of the document is complete,
an empty string may be returned.

@Bodo Meissner:
can you give a MPL/LGPLv3+ license for your attached template bug document?
i'd like to include a unit test for this, and just committing
that to our git repo would be easiest :)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to