GnuCash
Contact   Instructions
Bug 796829 - Report HTML - table rows are prepended not as list elements
Summary: Report HTML - table rows are prepended not as list elements
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:19 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:19:22 EDT
Creating a HTML table with one intial row (e.g. with element "Row2") and then prepending rows (e.g. with elements "Row 1", "Row 0", "Row -1") with gnc:html-table-prepend-row! will end up in (("Row 2") "Row 1" "Row 0" "Row -1") as the table data list.

For (gnc:html-table-get-cell test-table 2 0) this leads to an error:
(wrong-type-arg "length" "Wrong type argument in position ~A: ~S" (1 "Row 1") ("Row 1"))
Comment 1 Carsten Rinke 2018-09-19 09:35:44 EDT
A solution proposal is covered in PR#391

see
https://github.com/Gnucash/gnucash/pull/391/commits/c2f9197edbdc1940ae8666e3b38cdbbf29db1edc
Comment 2 John Ralls 2019-03-29 17:55:29 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.