← Back to team overview

report-openoffice-team team mailing list archive

[Bug 610787] [NEW] Text after "<if test=...></if>" is being lost

 

Public bug reported:

This is bug in Relatorio:
on compiling of template to Genshi template, the text after tags is being lost. The problem lies in "wrap_nodes_between" function of "relatorio/templates/opendocument.py" file.

Fix:
It is line "new_parent.tail = last.tail" missing just before line "old_parent.remove(last)".

** Affects: report-openoffice
     Importance: Low
     Assignee: sraps (KN dati) (erpsraps)
         Status: Confirmed

** Changed in: report-openoffice
       Status: New => Confirmed

** Changed in: report-openoffice
   Importance: Undecided => Low

** Changed in: report-openoffice
     Assignee: (unassigned) => sraps (KN dati) (erpsraps)

** Description changed:

  This is bug in Relatorio:
  on compiling of template to Genshi template, the text after tags is being lost. The problem lies in "wrap_nodes_between" function of "relatorio/templates/opendocument.py" file.
  
  Fix:
- It should be line "new_parent.tail = last.tail" add just before line "old_parent.remove(last)".
+ It is line "new_parent.tail = last.tail" missing just before line "old_parent.remove(last)".

-- 
Text after "<if test=...></if>" is being lost
https://bugs.launchpad.net/bugs/610787
You received this bug notification because you are a member of Report
OpenOffice Team, which is the registrant for Report OpenOffice.

Status in OpenOffice.org Reporting Engine for OpenObject: Confirmed

Bug description:
This is bug in Relatorio:
on compiling of template to Genshi template, the text after tags is being lost. The problem lies in "wrap_nodes_between" function of "relatorio/templates/opendocument.py" file.

Fix:
It is line "new_parent.tail = last.tail" missing just before line "old_parent.remove(last)".







Follow ups

References