Confirmed issue on latest Hardy OOo in hardy-proposed. Updated description and title.
** Summary changed: - problems with set and show variable. after change, the variables is showed displayed incorrectly (blank field) + TEXT variables formated incorrectly as FLOAT in footer ** Description changed: - Create a variable (ctrl+f2 -> variables -> set variable, with name say "Name" and value "John") - Now show it (ctr+f2 -> variables -> show variable -> Name) + 1. Set a variable with content "2008-xx/xx" and set it's type to TEXT + 2. Show the variable - it works + 3. Create page footer + 4. Show variable in the footer + 5. save and exit + 6. open document again + 7. you will notice that the variable in footer is showed as "2008" instead "2008-xx/xx". + If you right click on this field and select "Field..." you see that it is set to be displayed as TEXT, yet it is displayed as FLOAT. - It works fine so far. + when analyzing OFD's xml, then we see that normal fields are in + content.xml but the footer one is in styles.xml and it is: - Now change the first variable by clicking on it and changing value from "John" to "Bob". - Then it doesnt work: - 1) the first field (set) still shows John instead Bob - 2) the second field now doesnt show nothing at all! + <style:footer><text:p text:style-name="Standard">Display3: + <text:variable-get text:name="nr" office:value-type="float" style:data-style-name="N0">2008</text:variable-get> + </text:p></style:footer> - In screenshot we see - 1) the image after change from John to Bob - 2) "debug" of variables (option ctlr+F9 - show variables names) - 3) dialog of editing the varaibles + is this office:value-type="float" correct? + + See attached testcase ODT on comment 7 ** Changed in: openoffice.org (Ubuntu) Importance: Medium => Low Status: New => Triaged -- TEXT variables formated incorrectly as FLOAT in footer https://bugs.launchpad.net/bugs/179230 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs