Issue 52038 - Database connection should be closed if not needed
Summary: Database connection should be closed if not needed
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 680m112
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-15 14:16 UTC by Oliver Specht
Modified: 2017-05-20 11:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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".