https://bugs.documentfoundation.org/show_bug.cgi?id=82097

Michael Stahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=67
                   |                            |930,
                   |                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=60
                   |                            |886,
                   |                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=87
                   |                            |044

--- Comment #17 from Michael Stahl <[email protected]> ---
oops, somehow i wasn't aware of this issue...

... there are 2 bugs here, the one from the commit in comment #8 was
fixed (bug 60886) but on current master i don't even see any fields in
Writer because in /tmp/lu*.tmp/origine.odt styles.xml the
report-builder generates a plain text "2014-01" string instead of
a field like 4.1.6 did:

<text:variable-get text:name="auto_group_1_1"
office:value-type="string">2014-03</text:variable-get>

this problem was also introduced between 4.1.6 and 4.2.0...

i'm pretty sure this is responsible:

commit fc92c1abebcfe9b18649d35b76bf22e001e332da
Author:     Lionel Elie Mamane <[email protected]>
AuthorDate: Mon Aug 12 18:41:44 2013 +0200

    fdo#67930 don't use variables for formattedtext in header/footer

    I don't know why it was going through variables.
    Instead, put the value where it is supposed to,
    like for formattedtext in detail section.
    Try it, and if something breaks, we can revert.

    This also works around fdo#67930


this commit was reverted in commit d6ce95ae2288859fe74d601f1bdaf616ab1ee7f0
but then again un-revert in commit 08715e24c13d21767544725292d8dbf1c2381479

and if i revert the latter on master i get the "variable-get" fields,
but writer doesn't evaluate them like 4.1.6 did and the result is
always 2014-01, with or without 2815396a1813cb3956c5aba066de49a7f34bc657
reverted.

now, looking at this bug: a hard-coded string value in a header obviously
cannot change between different pages; either report-builder actually needs
to put those variables back in, or report-builder needs to generate
multiple page styles with different hard-coded headers.

if i open the document written by report-builder master with reverts
in 4.2.8.2, the fields are properly displayed, so i'll try to track
down bug #3 now...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to