Issue 52038

Summary: Database connection should be closed if not needed
Product: Writer Reporter: Oliver Specht <os_ooo>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 680m112   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Oliver Specht 2005-07-15 14:16:40 UTC
Some fields (hidden paragraph, conditional text) and some other objects can
contain expressions that point to database content. If those expressions are
evaluated by the calculator then there connections created to the databases.
These connections are never closed. 

The correct behaviour is not to open such connections and return a void result
in the evaluation. That way database expressions will only be evaluated if
connections are already opened. That is the case for mail merges or actions like
"data to field". 

Also when database fields are inserted or databases are exchanged the
connections have to be closed when the action has been finished.
Comment 1 Marcus 2017-05-20 11:22:25 UTC
Reset assigne to the default "issues@openoffice.apache.org".