Bug 61671 - : No longer able to insert field "variable" into headers after upgrade from 3.6 to 4.0
Summary: : No longer able to insert field "variable" into headers after upgrade from 3...
Status: RESOLVED DUPLICATE of bug 60886
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 21:28 UTC by norajr
Modified: 2013-03-18 22:54 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
attachment-19785-0.html (3.60 KB, text/html)
2013-03-07 03:51 UTC, norajr
Details
attachment-19785-1.dat (1 bytes, multipart/alternative)
2013-03-07 03:51 UTC, norajr
Details
variable test template.odt (33.78 KB, application/vnd.oasis.opendocument.text)
2013-03-07 03:51 UTC, norajr
Details
attachment-20294-0.html (3.63 KB, text/html)
2013-03-07 03:58 UTC, norajr
Details
attachment-20294-1.dat (1 bytes, multipart/alternative)
2013-03-07 03:58 UTC, norajr
Details
variable test template.odt (33.78 KB, application/vnd.oasis.opendocument.text)
2013-03-07 03:58 UTC, norajr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description norajr 2013-03-01 21:28:41 UTC
I use a non-printing box for to assign several "variables" that show up throughout one of my template documents.

I display the "variable" throughout the document by choosing, Insert -> Fields -> Other -> Variables -> ShowVariable.  In version 3.6, I this function worked for the main text of the document and for headers/footers.  In version 4.0, it only works for the main text and does not work for headers/footers.
Comment 1 Joel Madero 2013-03-04 17:32:25 UTC
Can you attach a document that has several variables so we can test it out? Going to mark as NEEDINFO, once you attach document, mark as UNCONFIRMED and I'll test 3.6 vs. 4.0 vs. 4.1, thanks!
Comment 2 Brenda Granados 2013-03-04 17:39:26 UTC
I am trying to verify this, but I would like to understand what you are doing, exactly. This is my first time creating a variable. I went to Insert -> Other -> Variables and used Set Variable to create a new variable myVar with text "variable text". Then I followed your steps.

Insert -> Fields -> Other -> Variables -> ShowVariable, and clicked Insert. It worked on inserting "variable text" or the name myVar, depending on which I selected. It worked for the Header and Footer.

If this is not what you meant, could you please clarify?

Version: 4.0.0.3
Platform: Windows 8 x64



LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) 
by human beings who mostly give their time for free. We invite you to join our 
triaging by checking out this link: https://wiki.documentfoundation.org/QA/BugTriage
There are also other ways to get involved including with marketing, UX, documentation,
and of course developing -  http://www.libreoffice.org/get-help/mailing-lists
Comment 3 norajr 2013-03-07 03:51:58 UTC
Created attachment 76070 [details]
attachment-19785-0.html

Thanks for your reply.

Yes, I think you've described what I meant quite correctly. However, 
when I choose ShowVariable, it will insert the correct text and date in 
the the main body of the document but not in headers or footers.  For 
text variables only a empty space character appears. For numeric 
variables meant to represent the date, it inserts the number zero (which 
displays the date 30 Dec 1899).  Perhaps there is something obvious that 
I am missing.  Perhaps it is something unique to LO 4.0 on WinXP.  I 
created a sample document today as a demonstration (see attached).  The 
same problem occurred using WinXP, but when I opened the test document 
at home where I run Debian testing and LO 3.5.4.2, there was no problem 
at all.

Thanks.


On 03/04/2013 11:39 AM, bugzilla-daemon@freedesktop.org wrote:
>
> *Comment # 2 <https://bugs.freedesktop.org/show_bug.cgi?id=61671#c2> 
> on bug 61671 <https://bugs.freedesktop.org/show_bug.cgi?id=61671> from 
> Brenda Granados <mailto:bgran05@gmail.com> *
> I am trying to verify this, but I would like to understand what you are doing,
> exactly. This is my first time creating a variable. I went to Insert -> Other
> -> Variables and used Set Variable to create a new variable myVar with text
> "variable text". Then I followed your steps.
>
> Insert -> Fields -> Other -> Variables -> ShowVariable, and clicked Insert. It
> worked on inserting "variable text" or the name myVar, depending on which I
> selected. It worked for the Header and Footer.
>
> If this is not what you meant, could you please clarify?
>
> Version: 4.0.0.3
> Platform: Windows 8 x64
>
>
>
> LibreOffice is powered by a team of volunteers, every bug is confirmed
> (triaged)
> by human beings who mostly give their time for free. We invite you to join our
> triaging by checking out this link:
> https://wiki.documentfoundation.org/QA/BugTriage
> There are also other ways to get involved including with marketing, UX,
> documentation,
> and of course developing -http://www.libreoffice.org/get-help/mailing-lists
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You reported the bug.
>
Comment 4 norajr 2013-03-07 03:51:58 UTC
Created attachment 76071 [details]
attachment-19785-1.dat
Comment 5 norajr 2013-03-07 03:51:58 UTC
Created attachment 76072 [details]
variable test template.odt
Comment 6 norajr 2013-03-07 03:57:36 UTC
Correction to Platform information.

The machine on which I experienced this issue does in fact have an x64 processor, but it is running WinXP 32 bit (not 64 bit as I may have implied).
Comment 7 norajr 2013-03-07 03:58:46 UTC
Created attachment 76073 [details]
attachment-20294-0.html

Hi,

Thanks for your reply and for looking into this.

I created a sample document based on the document I use at work that has 
been giving me trouble.  I have attached the file.

I use Debian testing at home which currently runs LO 3.5.4.2.  The file 
works correctly in my home environment but did not work earlier today at 
work using Win XP with LO 4.0.0.3.

Thanks for your help.

Jim
norajr@lavabit.com


On 03/04/2013 11:32 AM, bugzilla-daemon@freedesktop.org wrote:
> Joel Madero <mailto:jmadero.dev@gmail.com> changed bug 61671 
> <https://bugs.freedesktop.org/show_bug.cgi?id=61671>
> What 	Removed 	Added
> Status 	UNCONFIRMED 	NEEDINFO
> CC 		jmadero.dev@gmail.com
> Ever confirmed 		1
>
> *Comment # 1 <https://bugs.freedesktop.org/show_bug.cgi?id=61671#c1> 
> on bug 61671 <https://bugs.freedesktop.org/show_bug.cgi?id=61671> from 
> Joel Madero <mailto:jmadero.dev@gmail.com> *
> Can you attach a document that has several variables so we can test it out?
> Going to mark as NEEDINFO, once you attach document, mark as UNCONFIRMED and
> I'll test 3.6 vs. 4.0 vs. 4.1, thanks!
> ------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You reported the bug.
>
Comment 8 norajr 2013-03-07 03:58:46 UTC
Created attachment 76074 [details]
attachment-20294-1.dat
Comment 9 norajr 2013-03-07 03:58:46 UTC
Created attachment 76075 [details]
variable test template.odt
Comment 10 frefretmp-bugzilla 2013-03-17 20:52:28 UTC
Hello,
I have  the same problem.
It seams to be the same as bug 60886, for witch a solution have been integrated in the daily buids and should be integrates in LO 4.0.2.
I haven't tested yet.
Fred.
Comment 11 frefretmp-bugzilla 2013-03-18 22:54:09 UTC
I tested your "variable test template.odt" successfully with : 
daily/libreoffice-4-0/Win-x86@6/2013-03-18_07.00.22
So the problem is already solved.
Bye
Comment 12 frefretmp-bugzilla 2013-03-18 22:54:53 UTC

*** This bug has been marked as a duplicate of bug 60886 ***