Bug 4921 - LibreOffice (database): errors in some conditional fields while printing or exporting as PDF
Summary: LibreOffice (database): errors in some conditional fields while printing or e...
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-13 07:40 CET by Thomas Grottker
Modified: 2012-12-02 14:32 CET (History)
3 users (show)

See Also:
Source RPM: libreoffice-3.4.4.2-0.3.mga1.i586
CVE:
Status comment:


Attachments

Description Thomas Grottker 2012-03-13 07:40:08 CET
* ===========================================================================
* Bug Report: Fehler beim Exportieren von PDF oder Drucken von bedingtem Text aus Datenbank
* Möchte Datei bug.zip hochladen. Weià nicht, wohin. Enthält alle erforderlichen Daten zur Reproduktion des Fehlers.
* Dateiliste in bug.zip:
* - bug.odb: verknüpft mit Datenbank bug.dbf
* - bug.dbf: enthält einen Datensatz mit den Feldern A bis Z
* - bug.odt: Textdatei verbunden mit angemeldeter Datenbank bug.odb
* - bug.pdf: Output mit fehlerhaften Datenfeldern E, F, K, M, NO, PQ, R und S
* - bug.lies: diese Datei
* ===========================================================================

System:
-------------

Linux Mageia 1
LibreOffice 3.4.4, OOO340m1 (Build:402)


Fehlerbeschreibung:
---------------------------------

Beim Drucken oder beim Erstellen von PDF-Dateien werden offensichtlich einzelne Felder mit bedingtem Text nicht auf NULL gesetzt und falsche Werte eingetragen.
Wenn in der Datei bug.odt mit F4 die Datenbank bug.odb geöffnet wird und der einzige Beispieldatensatz Nr. 1 in die Felder übertragen wird, so werden alle Daten zunächst richtig in die Bedingter-Text-Felder eingetragen. Hierin ist eine Abfrage enthalten:
(1) Bedingung: [bug.bug.A]!=""
(2) Dann: bug.bug.A
(3) Sonst: leer

Sobald die Datei bug.odt gedruckt wird, oder über das Symbol "Direktes Exportieren als PDF" ein PDF erstellt wird, werden nur einzelne Daten des Datensatzes richtig übernommen. Die Felder E, F, K, M, NO, PQ, R und S werden irrtümlich als leer interpretiert. Es ist nicht nachvollziehbar, warum gerade diese Felder falsch übertragen werden.

Ich vermute, dass im Programm beim Drucken die entsprechenden Felder vor einem Loop nicht ordentlich auf NULL gesetzt werden.

Ich bitte um Ãberprüfung des Programms zum Drucken und Exportieren als PDF.

Besten Dank.
Thomas

Reproduktion des Fehlers:
-------------------------------------------
(1) Datenbank bug.odb anmelden
(2) Textdatei bug.odt öffnen
(3) Bearbeiten > Datenbank austauschen > bug.odb
(4) Ãffnen der Datenbank mit F4
(5) ersten Datensatz auswählen und Daten in Felder

Ãbernahme der Daten ist korrekt. Dann kommt der Fehler.

(6.1) Symbol "Direktes Exportieren als PDF" klicken oder
(6.2) Drucken der Datei
(7) Output enthält fehlerhafte Felder des Datensatzes: E, F, K, M, NO, PQ, R und S
Michael Scherer 2012-03-13 11:43:43 CET

CC: sysadmin-bugs => misc
Component: Others => RPM Packages
Version: unspecified => 1
Assignee: sysadmin-bugs => bugsquad
Product: Infrastructure => Mageia

Michael Scherer 2012-03-13 11:44:02 CET

CC: misc => (none)
Severity: major => normal

Comment 1 Manuel Hiebel 2012-03-13 11:55:37 CET
hallo, can you translate your bug in english please ?
Manuel Hiebel 2012-03-13 22:07:51 CET

Keywords: (none) => NEEDINFO

Comment 2 Marja Van Waes 2012-03-29 21:17:50 CEST
Hallo Thomas,

Leider verstehe ich nicht ganz gut was du geschrieben hast, und der Maintainer von LibreOffice kann gar kein Deutsch lesen. Kannst du vielleicht im Forum um hilfe beim Ãbersetzen fragen?
https://forums.mageia.org/de/

Danke :)

CC: (none) => marja11

Comment 3 Marja Van Waes 2012-04-14 22:44:41 CEST
Hi Thomas

I forgot to tell you that our bugzilla can be reached again.

Do you mind logging in to it and translating this report into English, your mail convinced me you speak English very well, probably even better than I :)
Comment 4 Thomas Grottker 2012-04-16 19:53:56 CEST
* ===========================================================================
* Bug Report 4921: Error when Exporting PDF or Printing of Conditional Text Fields from Database
* Filelist:
* - bug.odb: linked to database bug.dbf
* - bug.dbf: contains one set of data with the fields A to Z
* - bug.odt: Textfile linked to registered database bug.odb
* - bug.pdf: output with erroneous fields E, F, K, M, NO, PQ, R and S
* - bug.read: this file
* ===========================================================================

System:
-------------

Linux Mageia 1
LibreOffice 3.4.4, OOO340m1 (Build:402)


Description of error:
--------------------------------

When printing or exporting a pdf-file only some fields with conditional text contain wrong or no values. 
When you open the database bug.odb in the file bug.odt with F4 and select the set of data all the fields are filled in correct. 
The file bug.odt contains the following conditions:
(1) condition: [bug.bug.A]!=""
(2) then: bug.bug.A
(3) else: empty
The same with bug.bug.B to bug.bug.XZ

As soon as the file bug.odt is being printed or exported as PDF only some of the fields are filled in properly. The fields E, F, K, M, NO, PQ, R and S are empty although the database contains the data. There is no obvious system, which fields are ok and which not.
I suppose that the program for printing and exporting contains a loop that is not reset to NILL properly.

Please analyse the program for printing and exporting pdf. Thank you.

Thomas


Reproduction of the error:
-------------------------------------------
(1) register database bug.odb
(2) open textfile bug.odt that contains the conditional fields
(3) look, if the database bug.odb is linked to the textfile
(4) open database with F4
(5) select the only set of data and click fill in fields

All the fields are taken from the database as they should. Than the error occurs:

(6.1) click Symbol "direct export as PDF" or
(6.2) print file
(7) Output contains wrong data for the fields E, F, K, M, NO, PQ, R and S
Marja Van Waes 2012-04-17 08:04:51 CEST

Keywords: NEEDINFO => (none)
CC: (none) => dmorganec
Summary: "Bedingter Text" in libreoffice-writer fehlerhaft beim Drucken oder Exportieren als PDF => LibreOffice (database): errors in some conditional fields while printing or exporting as PDF

Marja Van Waes 2012-04-17 08:48:09 CEST

CC: (none) => remco

Comment 5 Manuel Hiebel 2012-11-05 16:53:28 CET
This message is a reminder that Mageia 1 is nearing its end of life. 
In approximately 25 days from now, Mageia will stop maintaining and issuing 
updates for Mageia 1. At that time this bug will be closed as WONTFIX (EOL) if it 
remains open with a Mageia 'version' of '1'.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 1's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not 
be able to fix it before Mageia 1 is end of life.  If you would still like to see 
this bug fixed and are able to reproduce it against a later version of Mageia, 
you are encouraged to click on "Version" and change it against that version 
of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad
Comment 6 Manuel Hiebel 2012-12-02 14:32:43 CET
Mageia 1 changed to end-of-life (EOL) status on ''1st December''. Mageia 1 is no 
longer maintained, which means that it will not receive any further security or 
bug fix updates. As a result we are closing this bug. 

If you can reproduce this bug against a currently maintained version of Mageia 
please feel free to click on "Version" change it against that version of Mageia and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.