GnuCash
Contact   Instructions
Bug 796827 - Report HTML - it is not possible to suppress the document title
Summary: Report HTML - it is not possible to suppress the document title
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Reports (show other bugs)
Version: git-maint
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: reports
QA Contact: reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-29 13:12 EDT by Carsten Rinke
Modified: 2019-03-29 17:55 EDT (History)
3 users (show)

See Also:


Attachments

Description Carsten Rinke 2018-08-29 13:12:54 EDT
In gnc:html-document-render there is no way to suppress the title, (if (title)) is always true.
Comment 1 John Ralls 2018-08-29 20:05:06 EDT
Why is that a problem?
Comment 2 Carsten Rinke 2018-08-31 03:31:51 EDT
I came across it when writing the tests for it 
https://github.com/Gnucash/gnucash/pull/391

I see that the html doc renderer is designed to check if title (and btw: also header) shall be set or not.
But these checks are implemented in a way that is these fields will always be included, there is no way to create a condition, that these checks will prevent adding these fields (at least I did not find one up to now).

So I added a test as "expected to fail" to the set of tests with a reference to this bug (not yet uploaded to PR#391).
Comment 3 Carsten Rinke 2018-09-19 09:32:57 EDT
A solution proposal is covered in PR#391

see
https://github.com/Gnucash/gnucash/pull/391/commits/0171e0df079ebe9c5f2be183a475ea3d802af07f
Comment 4 John Ralls 2019-03-29 17:55:06 EDT
Which is merged and will be released in GnuCash 3.5.

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